We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6f79de8 + 74a9e89 commit a93bd96Copy full SHA for a93bd96
.github/workflows/ci.yml
@@ -0,0 +1,40 @@
1
+name: CI
2
+
3
+on:
4
+ pull_request:
5
+ push:
6
7
+jobs:
8
9
+ build:
10
+ runs-on: ${{ matrix.os }}
11
+ strategy:
12
+ fail-fast: false
13
+ matrix:
14
+ node:
15
+ - 12
16
+ - 14
17
+ - 16
18
+ - 17
19
+ os: [ubuntu-latest, macos-latest, windows-latest]
20
21
+ steps:
22
+ - name: 🛑 Cancel Previous Runs
23
+ uses: styfle/cancel-workflow-action@0.9.1
24
+ with:
25
+ access_token: ${{ secrets.GITHUB_TOKEN }}
26
27
+ - name: ⬇️ Checkout
28
+ uses: actions/checkout@v2
29
30
+ - name: ⎔ Setup node ${{ matrix.node }}
31
+ uses: actions/setup-node@v2
32
33
+ node-version: ${{ matrix.node }}
34
+ cache: npm
35
36
+ - name: 📥 Download deps
37
+ run: npm ci
38
39
+ - name: Test
40
+ run: npm test
.travis.yml
0 commit comments