We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5a4aa8 commit df54f03Copy full SHA for df54f03
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,38 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ ci:
11
+ name: typecheck / test / build (Node ${{ matrix.node-version }})
12
+ runs-on: ubuntu-latest
13
14
+ strategy:
15
+ matrix:
16
+ node-version: [18, 20, 22]
17
+ # Don't cancel the whole matrix if one version fails — see all failures at once
18
+ fail-fast: false
19
20
+ steps:
21
+ - uses: actions/checkout@v4
22
23
+ - uses: actions/setup-node@v4
24
+ with:
25
+ node-version: ${{ matrix.node-version }}
26
+ cache: npm
27
28
+ - name: Install dependencies
29
+ run: npm ci
30
31
+ - name: Type check
32
+ run: npm run typecheck
33
34
+ - name: Test
35
+ run: npm test
36
37
+ - name: Build
38
+ run: npm run build
0 commit comments