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.
1 parent 02991d8 commit 2c0f695Copy full SHA for 2c0f695
.github/workflows/main.yml
@@ -0,0 +1,36 @@
1
+name: CI
2
+on:
3
+ push:
4
+ branches: [master]
5
+ pull_request:
6
7
+jobs:
8
+ test:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ node: [12, 14, 16]
13
+ steps:
14
+ - name: Check out repository
15
+ uses: actions/checkout@v2
16
+
17
+ - name: Set up Node
18
+ uses: actions/setup-node@v2
19
+ with:
20
+ node-version: ${{ matrix.node }}
21
+ check-latest: true
22
+ cache: npm
23
24
+ - name: Cache Node modules
25
+ id: cache-node-modules
26
+ uses: actions/cache@v2
27
28
+ path: node_modules
29
+ key: ${{ runner.os }}-${{ matrix.node }}-${{ hashFiles('**/package-lock.json') }}
30
31
+ - name: Install dependencies
32
+ if: steps.cache-node-modules.outputs.cache-hit != 'true'
33
+ run: npm ci
34
35
+ - name: Run tests
36
+ run: npm test
.travis.yml
0 commit comments