We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2a4b67 commit e6bba04Copy full SHA for e6bba04
1 file changed
.github/workflows/publish.yml
@@ -57,7 +57,14 @@ jobs:
57
const token = await core.getIDToken('https://registry.npmjs.org');
58
core.setOutput('token', token);
59
60
+ - name: Configure npm with OIDC token
61
+ run: |
62
+ npm config set //registry.npmjs.org/:_authToken "${{ steps.oidc.outputs.token }}"
63
+ npm config set @willwade:registry https://registry.npmjs.org/
64
+
65
- name: Publish to npm (Trusted Publishing)
66
run: npm publish --access public --provenance
- env:
- NODE_AUTH_TOKEN: ${{ steps.oidc.outputs.token }}
67
68
+ - name: Show npm debug log on failure
69
+ if: failure()
70
+ run: cat ~/.npm/_logs/*-debug-0.log | tail -100
0 commit comments