We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c0ce01 commit 2a27d8fCopy full SHA for 2a27d8f
1 file changed
.github/workflows/test.yml
@@ -0,0 +1,31 @@
1
+name: Build and test
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
+jobs:
9
+ check:
10
+ name: Build and test
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ node-version: [20.x, 22.x, 24.x, 26.x]
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ with:
18
+ submodules: true
19
20
+ - uses: actions/setup-node@v6
21
22
+ node-version: ${{ matrix.node-version }}
23
+ cache: npm
24
25
+ - run: npm ci
26
27
+ - run: npm run format:check
28
+ - run: npm run lint
29
+ - run: npm run typecheck
30
+ - run: npm run check:error-codes
31
+ - run: npm test
0 commit comments