Skip to content

Commit 18cfb04

Browse files
committed
Change(workflow): Update GitHub Actions workflow to use latest actions
1 parent 34ed5d0 commit 18cfb04

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/deploy-webdoc.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
- master
77
- webdoc
88
paths:
9-
- '.github/workflows/deploy-webdoc.yml'
10-
- 'web/**'
9+
- ".github/workflows/deploy-webdoc.yml"
10+
- "web/**"
1111

1212
jobs:
1313
deploy:
@@ -17,24 +17,24 @@ jobs:
1717
run:
1818
working-directory: ./web
1919
steps:
20-
- uses: actions/checkout@v3
20+
- uses: actions/checkout@v4
2121
with:
2222
fetch-depth: 0
23-
- uses: pnpm/action-setup@v2
23+
- uses: pnpm/action-setup@v4
2424
with:
25-
version: 7.24.2
26-
- uses: actions/setup-node@v3
25+
version: 10
26+
- uses: actions/setup-node@v4
2727
with:
28-
node-version: 16
29-
cache: 'pnpm'
28+
node-version: 24
29+
cache: "pnpm"
3030
cache-dependency-path: web/pnpm-lock.yaml
3131
- run: pnpm install --frozen-lockfile
3232

3333
- name: Build
3434
run: pnpm docs:build
3535

3636
- name: Deploy
37-
uses: peaceiris/actions-gh-pages@v3
37+
uses: peaceiris/actions-gh-pages@v4
3838
with:
3939
github_token: ${{ secrets.GITHUB_TOKEN }}
40-
publish_dir: web/docs/.vitepress/dist
40+
publish_dir: web/docs/.vitepress/dist

0 commit comments

Comments
 (0)