Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2021-02-12 00:15:24 +0300
committerFeross Aboukhadijeh <feross@feross.org>2021-02-12 00:15:24 +0300
commit56c80b389e488fa5d60a2dea7cda4386964fbc5a (patch)
treeebdb8a6045ccc7ade20c2a10bd834ca7311c7ba0 /.github
parent2f766a7e96a8687acf773778e15095592d9e7341 (diff)
Create ci.yml
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..910c8cf
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,23 @@
+name: ci
+'on':
+ - push
+ - pull_request
+jobs:
+ test:
+ name: Node ${{ matrix.node }} / ${{ matrix.os }}
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: false
+ matrix:
+ os:
+ - ubuntu-latest
+ node:
+ - '14'
+ steps:
+ - uses: actions/checkout@v2
+ - uses: actions/setup-node@v2
+ with:
+ node-version: ${{ runner.node }}
+ - run: npm install
+ - run: npm run build --if-present
+ - run: npm test