Skip to content

Commit 7c23081

Browse files
committed
fix: fix ci
1 parent b190c07 commit 7c23081

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/gh-pages.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,24 @@ on:
66
- main # default branch
77
jobs:
88
deploy:
9-
runs-on: ubuntu-20.04
9+
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v4
12-
- uses: pnpm/action-setup@v3
11+
- name: Checkout
12+
uses: actions/checkout@v4
1313

14-
- name: Build
14+
- uses: pnpm/action-setup@v4
15+
name: Install pnpm
16+
with:
17+
version: 9
18+
run_install: false
19+
20+
- name: Install Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: 20
24+
cache: 'pnpm'
25+
26+
- name: Install and Build
1527
run: pnpm install & pnpm build
1628

1729
- name: Deploy

0 commit comments

Comments
 (0)