We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d8374a commit 2c15373Copy full SHA for 2c15373
.github/workflows/build.yml
@@ -0,0 +1,38 @@
1
+name: Build
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
9
+jobs:
10
+ build:
11
+ runs-on: "ubuntu-latest"
12
13
+ steps:
14
+ - name: Checkout Repo
15
+ uses: actions/checkout@v4
16
17
+ - name: Setup pnpm
18
+ uses: pnpm/action-setup@v3
19
20
+ - name: Use Node.js
21
+ uses: actions/setup-node@v4
22
+ with:
23
+ node-version: 22
24
25
+ - name: Install node modules
26
+ run: pnpm install
27
28
+ - name: Test
29
+ run: pnpm run test
30
31
+ - name: Build
32
+ run: pnpm run build
33
34
+ # - name: Upload pages artifacts
35
+ # # https://github.com/actions/upload-pages-artifact
36
+ # uses: actions/upload-pages-artifact@v3
37
+ # with:
38
+ # path: ".next/"
0 commit comments