File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed
Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -21,22 +21,27 @@ jobs:
2121 - name : Checkout
2222 uses : actions/checkout@v4
2323
24- - name : Install Pnpm
25- run : npm i -g corepack@latest --force && corepack enable
26-
2724 - name : Setup Node.js
2825 uses : actions/setup-node@v4
2926 with :
30- node-version : 22.14
31- cache : " pnpm"
27+ node-version : 22
28+
29+ # Update npm to the latest version to enable OIDC
30+ # Use corepack to install pnpm
31+ - name : Setup Package Managers
32+ run : |
33+ npm install -g npm@latest
34+ npm --version
35+ npm install -g corepack@latest --force
36+ corepack enable
3237
3338 - name : Install Dependencies
3439 run : pnpm install
3540
3641 - name : Publish
3742 uses : JS-DevTools/npm-publish@v3
3843 with :
39- token : ${{ secrets.RSBUILD_PLUGIN_DEVTOOLS_JSON_NPM_TOKEN }}
44+ token : empty
4045
4146 - name : Create GitHub Release
4247 uses : ncipollo/release-action@v1
You can’t perform that action at this time.
0 commit comments