We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b81aa7 commit c43cc0cCopy full SHA for c43cc0c
.github/workflows/tests.yml
@@ -0,0 +1,32 @@
1
+name: CI tests
2
+
3
+on:
4
+ push:
5
+ pull_request:
6
7
+jobs:
8
+ test:
9
+ name: Run tests
10
+ runs-on: ubuntu-latest
11
+ strategy:
12
+ matrix:
13
+ # Use the latest version of Node.js, plus the 2 most recent LTS lines
14
+ node-version:
15
+ - latest
16
+ - lts/*
17
+ - lts/-1
18
19
+ steps:
20
+ - uses: actions/checkout@v3
21
22
+ - name: Use Node.js ${{ matrix.node-version }}
23
+ uses: actions/setup-node@v3
24
+ with:
25
+ node-version: ${{ matrix.node-version }}
26
+ cache: npm
27
28
+ - name: Install dependencies
29
+ run: npm ci
30
31
+ - name: Run tests
32
+ run: npm test
.travis.yml
0 commit comments