We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cb9951 commit c1dbd53Copy full SHA for c1dbd53
.github/workflows/ci.yml
@@ -0,0 +1,41 @@
1
+name: ci
2
+on:
3
+ push:
4
+ branches: [main]
5
+ pull_request:
6
7
+
8
+concurrency:
9
+ group: ${{ github.ref }}
10
+ cancel-in-progress: true
11
12
+jobs:
13
+ ci:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v4
17
18
+ - uses: pnpm/action-setup@v4
19
20
+ - uses: actions/setup-node@v4
21
+ with:
22
+ node-version-file: '.nvmrc'
23
+ cache: 'pnpm'
24
25
+ - name: Install dependencies
26
+ run: pnpm install --frozen-lockfile
27
28
+ - name: Check formatting
29
+ run: pnpm format:check
30
31
+ - name: Lint
32
+ run: pnpm lint
33
34
+ - name: Typecheck
35
+ run: pnpm typecheck
36
37
+ - name: Test
38
+ run: pnpm test
39
40
+ - name: Build
41
+ run: pnpm build
0 commit comments