File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010
1111jobs :
1212 publish :
13- if : ${{ github.event.workflow_run.conclusion == 'success' }}
1413 runs-on : ubuntu-latest
1514 permissions :
1615 contents : write
2827 uses : actions/setup-node@v4
2928 with :
3029 node-version : " 24"
30+ registry-url : " https://registry.npmjs.org"
3131 cache : " npm"
3232
3333 - name : Install dependencies
3636 - name : Build the project
3737 run : npm run build
3838
39+ - name : Upgrade npm for OIDC trusted publishing
40+ run : npm i -g npm@^11.7.0
41+ - name : Debug npm
42+ run : |
43+ node -v
44+ npm -v
45+ npm config ls -l
46+ npm config get auth-type || true
47+ echo '--- .npmrc ---'
48+ test -f ~/.npmrc && sed -n '1,200p' ~/.npmrc || echo 'no ~/.npmrc'
49+
3950 - name : Release
4051 env :
4152 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2020 uses : actions/setup-node@v4
2121 with :
2222 node-version : " 24"
23+ registry-url : " https://registry.npmjs.org"
2324 cache : " npm"
2425
2526 - name : Install dependencies
You can’t perform that action at this time.
0 commit comments