We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57c2a53 commit 20e0a6cCopy full SHA for 20e0a6c
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,39 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main, master]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
13
+ strategy:
14
+ matrix:
15
+ node-version: [18.x, 20.x]
16
17
+ steps:
18
+ - uses: actions/checkout@v4
19
20
+ - name: Use Node.js ${{ matrix.node-version }}
21
+ uses: actions/setup-node@v4
22
+ with:
23
+ node-version: ${{ matrix.node-version }}
24
+ cache: 'yarn'
25
26
+ - name: Install dependencies
27
+ run: yarn install --frozen-lockfile
28
29
+ - name: Check formatting
30
+ run: yarn prettier --check .
31
32
+ - name: Lint
33
+ run: yarn lint
34
35
+ - name: Type check
36
+ run: yarn tsc --noEmit
37
38
+ - name: Run tests
39
+ run: yarn vitest run
0 commit comments