We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90c460f commit 5b0a262Copy full SHA for 5b0a262
.github/workflows/ci.yml
@@ -0,0 +1,34 @@
1
+name: CI
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - '**'
7
8
+jobs:
9
+ build-and-test:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v4
15
16
+ - name: Set up pnpm
17
+ uses: pnpm/action-setup@v4
18
+ with:
19
+ version: 8
20
21
+ - name: Set up Node.js
22
+ uses: actions/setup-node@v4
23
24
+ node-version: 20
25
+ cache: pnpm
26
27
+ - name: Install dependencies
28
+ run: pnpm install --frozen-lockfile
29
30
+ - name: Run build
31
+ run: pnpm run build
32
33
+ - name: Run unit tests
34
+ run: pnpm test
0 commit comments