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,22 +21,27 @@ jobs:
2121 - name : Checkout
2222 uses : actions/checkout@v4
2323
24- - name : Install Pnpm
25- run : npm install -g corepack@latest --force && corepack enable
26-
2724 - name : Setup Node.js
2825 uses : actions/setup-node@v4
2926 with :
3027 node-version : 22
31- cache : " pnpm"
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.RSTACK_DEV_NPM_TOKEN }}
44+ token : empty
4045
4146 - name : Create GitHub Release
4247 uses : ncipollo/release-action@v1
Original file line number Diff line number Diff line change 112112 },
113113 "publishConfig" : {
114114 "access" : " public" ,
115- "registry" : " https://registry.npmjs.org/" ,
116- "provenance" : true
115+ "registry" : " https://registry.npmjs.org/"
117116 }
118117}
You can’t perform that action at this time.
0 commit comments