File tree Expand file tree Collapse file tree 4 files changed +8109
-67
lines changed Expand file tree Collapse file tree 4 files changed +8109
-67
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -25,22 +25,22 @@ jobs:
2525 uses : actions/checkout@v4
2626 with :
2727 fetch-depth : 0 # Not needed if lastUpdated is not enabled
28- - uses : pnpm /action-setup@v3 # pnpm is optional but recommended, you can also use npm / yarn
28+ - uses : npm /action-setup@v3
2929 with :
3030 version : 8
3131 - name : Setup Node
3232 uses : actions/setup-node@v4
3333 with :
3434 node-version : 20
35- cache : pnpm
35+ cache : npm
3636 - name : Setup Pages
3737 uses : actions/configure-pages@v5
3838 if : github.repository_owner == 'syf20020816'
3939 - name : Install dependencies
40- run : pnpm install
40+ run : npm install
4141 - name : Build with Rspress
4242 run : |
43- pnpm run build
43+ npm run build
4444 - name : Upload artifact
4545 uses : actions/upload-pages-artifact@v3
4646 with :
Original file line number Diff line number Diff line change @@ -19,5 +19,3 @@ Cargo.lock
1919
2020/doc_build
2121/node_modules
22-
23- package-lock.json
You can’t perform that action at this time.
0 commit comments