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 c4765e3 commit 2ebdbe3Copy full SHA for 2ebdbe3
.github/workflows/ci.yml
@@ -0,0 +1,34 @@
1
+name: CI
2
+
3
+on:
4
+ pull_request:
5
6
+jobs:
7
+ lint:
8
+ name: Lint code
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - uses: actions/checkout@v3
12
+ - uses: actions/setup-node@v3
13
+ with:
14
+ node-version: 18.x
15
+ cache: 'npm'
16
+ - run: npm ci
17
+ - run: npm run eslint
18
+ build-and-test:
19
+ name: Build and test code
20
21
+ needs: lint
22
+ strategy:
23
+ matrix:
24
+ node-version: [14.x, 18.x]
25
26
27
+ - name: Use Node.js ${{ matrix.node-version }}
28
+ uses: actions/setup-node@v3
29
30
+ node-version: ${{ matrix.node-version }}
31
32
33
+ - run: npm run build
34
+ - run: npm run test
.travis.yml
0 commit comments