1 parent b73fb87 commit a0cf4b6Copy full SHA for a0cf4b6
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,31 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+ branches: ['*']
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/checkout@v4
14
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v4
17
+ with:
18
+ node-version: '20'
19
+ cache: 'npm'
20
21
+ - name: Install dependencies
22
+ run: npm ci
23
24
+ - name: Lint
25
+ run: npm run lint
26
27
+ - name: Type check
28
+ run: npm run typecheck
29
30
+ - name: Test
31
+ run: npm test
0 commit comments