We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29c8486 commit 1577a53Copy full SHA for 1577a53
1 file changed
.github/workflows/ci.yml
@@ -0,0 +1,41 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [master]
6
+ pull_request:
7
8
9
+jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ defaults:
13
+ run:
14
+ working-directory: queryguard
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
19
+ - uses: pnpm/action-setup@v4
20
+ with:
21
+ version: 10
22
23
+ - uses: actions/setup-node@v4
24
25
+ node-version: 20
26
+ cache: pnpm
27
+ cache-dependency-path: queryguard/pnpm-lock.yaml
28
29
+ - run: pnpm install --frozen-lockfile
30
31
+ - run: pnpm typecheck
32
+ name: Type check
33
34
+ - run: pnpm lint
35
+ name: Lint
36
37
+ - run: pnpm test
38
+ name: Unit tests (128)
39
40
+ - run: pnpm build
41
+ name: Build
0 commit comments