File tree Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Expand file tree Collapse file tree 3 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 1515 - name : Install pnpm
1616 uses : pnpm/action-setup@v2
1717 with :
18- version : 8
1918 run_install : false
2019 - name : Use Node.js ${{ matrix.node-version }}
2120 uses : actions/setup-node@v4
Original file line number Diff line number Diff line change @@ -23,20 +23,21 @@ jobs:
2323 - name : Install pnpm
2424 uses : pnpm/action-setup@v2
2525 with :
26- version : 8
2726 run_install : false
2827 - name : Use Node.js ${{ matrix.node-version }}
2928 uses : actions/setup-node@v4
3029 with :
3130 node-version : ${{ matrix.node-version }}
3231 cache : ' pnpm'
3332 registry-url : ' https://registry.npmjs.org'
33+
34+ # Ensure npm 11.5.1 or later is installed
35+ - name : Update npm
36+ run : npm install -g npm@latest
37+
3438 - name : Publish package
3539 run : |
3640 corepack enable
3741 pnpm i --frozen-lockfile
3842 pnpm build
3943 pnpm publish --access public --no-git-checks --provenance
40- env :
41- NODE_AUTH_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
42- NPM_TOKEN : ${{ secrets.NODE_AUTH_TOKEN }}
Original file line number Diff line number Diff line change 1515 - name : Install pnpm
1616 uses : pnpm/action-setup@v2
1717 with :
18- version : 8
1918 run_install : false
2019 - name : Use Node.js ${{ matrix.node-version }}
2120 uses : actions/setup-node@v4
You can’t perform that action at this time.
0 commit comments