Skip to content

Commit 02bb487

Browse files
authored
ci: npm release (#13)
2 parents 485397e + 68a322f commit 02bb487

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
mkdir -p release
4444
npm pack --pack-destination release
4545
46+
- name: Debug OIDC Token
47+
run: |
48+
TOKEN=$(curl -s -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
49+
"$ACTIONS_ID_TOKEN_REQUEST_URL&audience=npm" | jq -r '.value')
50+
echo "OIDC token (first 100 chars): ${TOKEN:0:100}"
51+
4652
- name: Run semantic-release
4753
env:
4854
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)