We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fcc9e20 + d067c80 commit 4254a60Copy full SHA for 4254a60
.github/workflows/actions.yaml
@@ -0,0 +1,41 @@
1
+name: GitHub Actions
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
+ push:
8
9
10
11
+jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ matrix:
16
+ node-version:
17
+ - 18
18
+ - 20
19
+ - 22
20
+ steps:
21
+ - uses: actions/checkout@v4
22
+ - name: Use Node.js v${{ matrix.node-version }}
23
+ uses: actions/setup-node@v4
24
+ with:
25
+ node-version: ${{ matrix.node-version }}
26
+ cache: npm
27
+ - run: npm ci
28
+ - run: npm run build
29
+ # - run: npm test
30
31
+ check:
32
33
34
35
+ - name: Use Node.js 22
36
37
38
+ node-version: 22
39
40
41
+ - run: npm run check
0 commit comments