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,13 +21,19 @@ jobs:
2121 - name : Checkout
2222 uses : actions/checkout@v4
2323
24- - name : Install Pnpm
25- run : npm i -g corepack@latest --force && corepack enable
24+ # Update npm to the latest version to enable OIDC
25+ # Use corepack to install pnpm
26+ - name : Setup Package Managers
27+ run : |
28+ npm install -g npm@latest
29+ npm --version
30+ npm install -g corepack@latest --force
31+ corepack enable
2632
2733 - name : Setup Node.js
2834 uses : actions/setup-node@v4
2935 with :
30- node-version : 22.14
36+ node-version : 22
3137 cache : " pnpm"
3238
3339 - name : Install Dependencies
3642 - name : Publish
3743 uses : JS-DevTools/npm-publish@v3
3844 with :
39- token : ${{ secrets.RSBUILD_PLUGIN_NPM_TOKEN }}
45+ token : empty
4046
4147 - name : Create GitHub Release
4248 uses : ncipollo/release-action@v1
You can’t perform that action at this time.
0 commit comments