Skip to content

Commit 65825fd

Browse files
committed
add pnpm build to github actions
1 parent d994bbc commit 65825fd

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/static.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,18 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@v4
34+
- name: Setup Node.js
35+
uses: actions/setup-node@v4
36+
with:
37+
node-version: '20'
38+
- name: Setup pnpm
39+
uses: pnpm/action-setup@v3
40+
with:
41+
version: '8'
42+
- name: Install dependencies
43+
run: pnpm install
44+
- name: Build project
45+
run: pnpm build
3446
- name: Setup Pages
3547
uses: actions/configure-pages@v5
3648
- name: Upload artifact

0 commit comments

Comments
 (0)