Skip to content

Commit 55d484e

Browse files
debug: add OIDC env var checks to publish workflow
🤖 Generated with Mister Maluco Co-Authored-By: MisterMal <teskeslab@lucasteske.dev>
1 parent 7a12980 commit 55d484e

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,17 @@ jobs:
1919
- uses: actions/setup-node@v4
2020
with:
2121
node-version: '24'
22-
registry-url: 'https://registry.npmjs.org'
23-
package-manager-cache: false
22+
23+
- run: |
24+
echo "npm: $(npm -v)"
25+
echo "node: $(node -v)"
26+
echo "OIDC URL: ${ACTIONS_ID_TOKEN_REQUEST_URL:+SET}"
27+
echo "OIDC TOKEN: ${ACTIONS_ID_TOKEN_REQUEST_TOKEN:+SET}"
2428
2529
- run: npm ci
2630

2731
- run: npm run lint
2832

2933
- run: npm test
3034

31-
- run: npm publish
35+
- run: npm publish --registry=https://registry.npmjs.org

0 commit comments

Comments
 (0)