File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,15 +21,22 @@ jobs:
2121 runs-on : ubuntu-latest
2222 steps :
2323 - name : Checkout code
24- uses : actions/checkout@v4
25- - name : Install pnpm
26- run : npm install -g pnpm
24+ uses : actions/checkout@v5
25+ - name : Setup PNPM
26+ uses : pnpm/action-setup@v4
27+ with :
28+ version : latest
29+ - name : Setup Node.js
30+ uses : actions/setup-node@v4
31+ with :
32+ node-version : ' lts/*'
33+ cache : ' pnpm'
2734 - name : Install dependencies
2835 run : pnpm install
2936 - name : Build site
3037 run : pnpm run build
3138 - name : Upload artifact
32- uses : actions/upload-pages-artifact@v2
39+ uses : actions/upload-pages-artifact@v4
3340 with :
3441 path : .vitepress/dist
3542
4451 steps :
4552 - name : Deploy to GitHub Pages
4653 id : deployment
47- uses : actions/deploy-pages@v2
54+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments