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 18fef87 commit dda5a2dCopy full SHA for dda5a2d
.github/workflows/test-build.yml
@@ -0,0 +1,34 @@
1
+name: Test Build
2
+
3
+on:
4
+ pull_request:
5
+ branches: ["main"]
6
7
+# Cancel in-progress runs for the same PR
8
+concurrency:
9
+ group: ${{ github.workflow }}-${{ github.ref }}
10
+ cancel-in-progress: true
11
12
+jobs:
13
+ build:
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - name: Checkout
17
+ uses: actions/checkout@v4
18
19
+ - name: Setup pnpm
20
+ uses: pnpm/action-setup@v4
21
+ with:
22
+ version: 9
23
24
+ - name: Setup Node
25
+ uses: actions/setup-node@v4
26
27
+ node-version: "20"
28
+ cache: "pnpm"
29
30
+ - name: Install dependencies
31
+ run: pnpm install --frozen-lockfile
32
33
+ - name: Build with Next.js
34
+ run: pnpm build
0 commit comments