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