We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ed7b239 commit f3cdedaCopy full SHA for f3cdeda
1 file changed
.github/workflows/test.yml
@@ -0,0 +1,33 @@
1
+name: Build and Test
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ build-test:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v4
15
16
+ - uses: pnpm/action-setup@v4
17
18
+ - uses: actions/setup-node@v4
19
+ with:
20
+ node-version: 22
21
+ cache: pnpm
22
23
+ - name: Install dependencies
24
+ run: pnpm install --frozen-lockfile
25
26
+ - name: Build
27
+ run: pnpm build
28
29
+ - name: Test Client-side Rendering
30
+ run: pnpm test:client
31
32
+ - name: Test Server-side Rendering
33
+ run: pnpm test:ssr
0 commit comments