File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,19 @@ jobs:
21
21
- name : Checkout
22
22
uses : actions/checkout@v4
23
23
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
26
32
27
33
- name : Setup Node.js
28
34
uses : actions/setup-node@v4
29
35
with :
30
- node-version : 22.14
36
+ node-version : 22
31
37
cache : " pnpm"
32
38
33
39
- name : Install Dependencies
36
42
- name : Publish
37
43
uses : JS-DevTools/npm-publish@v3
38
44
with :
39
- token : ${{ secrets.RSBUILD_PLUGIN_NPM_TOKEN }}
45
+ token : empty
40
46
41
47
- name : Create GitHub Release
42
48
uses : ncipollo/release-action@v1
You can’t perform that action at this time.
0 commit comments