File tree Expand file tree Collapse file tree 2 files changed +10
-14
lines changed
Expand file tree Collapse file tree 2 files changed +10
-14
lines changed Original file line number Diff line number Diff line change 2626 uses : actions/checkout@v3
2727 with :
2828 fetch-depth : 0 # Not needed if lastUpdated is not enabled
29- - uses : pnpm/action-setup@v2 # pnpm is optional but recommended, you can also use npm / yarn
29+ - uses : pnpm/action-setup@v3 # pnpm is optional but recommended, you can also use npm / yarn
3030 with :
31- version : 6
31+ version : 8
3232 - name : Setup Node
3333 uses : actions/setup-node@v3
3434 with :
Original file line number Diff line number Diff line change @@ -16,16 +16,17 @@ jobs:
1616 uses : actions/checkout@v3
1717 with :
1818 fetch-depth : 0 # Not needed if lastUpdated is not enabled
19- - uses : pnpm/action-setup@v2 # pnpm is optional but recommended, you can also use npm / yarn
20- with :
21- version : 6
22- - name : Setup Node
19+ - name : Install Node.js
2320 uses : actions/setup-node@v3
2421 with :
2522 node-version : 20
26- cache : pnpm
27- - name : Setup Pages
28- uses : actions/configure-pages@v3
23+
24+ - uses : pnpm/action-setup@v3
25+ name : Install pnpm
26+ with :
27+ version : 8
28+ run_install : false
29+
2930 - name : Install dependencies
3031 run : pnpm install
3132 - name : Build packages
3637 needs : build
3738 runs-on : ubuntu-latest
3839 steps :
39- - uses : actions/checkout@v3
40- - uses : actions/setup-node@v3
41- with :
42- node-version : 20
43- registry-url : https://registry.npmjs.org/
4440 - run : pnpm publish --filter ./packages/*
4541 env :
4642 NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
You can’t perform that action at this time.
0 commit comments