File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
.github/actions/npm-publish Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 2525 with :
2626 node-version : ' 20'
2727 registry-url : ' https://registry.npmjs.org'
28+ # Note: OIDC token must be available from parent workflow with id-token: write
2829
2930 - name : Generate version
3031 id : version
9596 echo "Version ${VERSION} does not exist, will publish"
9697 fi
9798
99+ - name : Debug npm config
100+ shell : bash
101+ run : |
102+ echo "Checking npm configuration..."
103+ npm config list
104+ echo "ACTIONS_ID_TOKEN_REQUEST_URL: ${ACTIONS_ID_TOKEN_REQUEST_URL:-not set}"
105+ echo "ACTIONS_ID_TOKEN_REQUEST_TOKEN: ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:+is set}"
106+
98107 - name : Publish to npm (with OIDC trusted publishing)
99108 if : steps.check-exists.outputs.exists == 'false'
100109 shell : bash
You can’t perform that action at this time.
0 commit comments