We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db48724 commit eff1fa8Copy full SHA for eff1fa8
.github/workflows/ci.yml
@@ -0,0 +1,39 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [ master ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ node-version: [18.x, 20.x]
15
+ fail-fast: false
16
17
+ steps:
18
+ - uses: actions/checkout@v4
19
+ - name: Use Node.js ${{ matrix.node-version }}
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: ${{ matrix.node-version }}
23
+ cache: 'npm'
24
25
+ - name: Install Dependencies
26
+ run: npm ci
27
28
+ # - name: Lint
29
+ # if: matrix.node-version == '20.x'
30
+ # # only run on latest node version, no reason to run on all
31
+ # run: |
32
+ # npm run lint
33
34
+ - name: Test NodeJS
35
+ run: npm run test
36
+ timeout-minutes: 5
37
38
39
0 commit comments