We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2f5dee commit 4da07b3Copy full SHA for 4da07b3
.github/workflows/test.yaml
@@ -0,0 +1,33 @@
1
+name: Tests
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
+jobs:
9
+ build_and_test:
10
+ runs-on: ubunut-latest
11
12
+ strategy:
13
+ fail-fast: false
14
+ max-parallel: 4
15
16
+ steps:
17
+ - name: Checkout
18
+ uses: actions/checkout@v4
19
20
+ - name: Use Node.js (20.x)
21
+ uses: actions/setup-node@v4
22
+ with:
23
+ node-version: '20.x'
24
+ cache: 'pnpm'
25
26
+ - name: Install Dependencies
27
+ run: pnpm install
28
29
+ - name: Build
30
+ run: pnpm run build
31
32
+ - name: Unit Tests
33
+ run: pnpm run test
0 commit comments