We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d63647 commit d4b1e22Copy full SHA for d4b1e22
2 files changed
.github/actions/npm-publish/action.yml
@@ -103,7 +103,7 @@ runs:
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
.github/workflows/publish.yml
@@ -60,6 +60,9 @@ jobs:
60
node-version: '20'
61
registry-url: 'https://registry.npmjs.org'
62
63
+ # Ensure npm 11.5.1 or later for trusted publishing
64
+ - run: npm install -g npm@latest
65
66
- name: Detect trigger type
67
id: detect
68
run: |
0 commit comments