We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71d1be9 commit e42ea6bCopy full SHA for e42ea6b
1 file changed
.github/actions/npm-publish/action.yml
@@ -25,6 +25,7 @@ runs:
25
with:
26
node-version: '20'
27
registry-url: 'https://registry.npmjs.org'
28
+ # Note: OIDC token must be available from parent workflow with id-token: write
29
30
- name: Generate version
31
id: version
@@ -95,6 +96,14 @@ runs:
95
96
echo "Version ${VERSION} does not exist, will publish"
97
fi
98
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
+
107
- name: Publish to npm (with OIDC trusted publishing)
108
if: steps.check-exists.outputs.exists == 'false'
109
shell: bash
0 commit comments