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 d710886 commit a351da9Copy full SHA for a351da9
.github/workflows/test.yml
@@ -0,0 +1,38 @@
1
+name: Test
2
+
3
+on:
4
+ push:
5
+ branches: [ "main" ]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
16
+ node-version: [18.x, 20.x]
17
18
+ steps:
19
+ - uses: actions/checkout@v3
20
+ - name: Use Node ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v3
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ cache: 'npm'
25
+ - run: npm ci
26
+ - run: npm test
27
28
+ lint:
29
30
31
32
+ - name: Use Node 18
33
34
35
+ node-version: 18.x
36
37
38
+ - run: npm run lint
0 commit comments