Skip to content

Commit 4715ced

Browse files
docs(README): fix yml files for OIDC auth
1 parent 24df065 commit 4715ced

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
with:
6565
node-version: 20.x
6666
cache: 'yarn'
67+
registry-url: 'https://registry.npmjs.org'
6768

6869
- run: yarn install --frozen-lockfile
6970
- run: yarn build
@@ -77,4 +78,7 @@ jobs:
7778
# npm publish runs directly in workflow step so OIDC works
7879
- name: Publish to npm with OIDC
7980
if: ${{ hashFiles('.release-created') != '' }}
80-
run: npm publish --workspaces --access public --provenance --registry https://registry.npmjs.org
81+
run: |
82+
echo "npm version: $(npm --version)"
83+
echo "OIDC URL available: ${{ env.ACTIONS_ID_TOKEN_REQUEST_URL != '' }}"
84+
npm publish --workspaces --access public --provenance --registry https://registry.npmjs.org

0 commit comments

Comments
 (0)