Skip to content

Commit 1c41dfe

Browse files
committed
ci: npm release
1 parent 68a322f commit 1c41dfe

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

.github/workflows/pull_request.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
lint:
8-
runs-on: ubuntu-latest
8+
runs-on: macos-latest
99
steps:
1010
- name: Checkout
1111
uses: actions/checkout@v5.0.0

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,18 @@ jobs:
4343
mkdir -p release
4444
npm pack --pack-destination release
4545
46-
- name: Debug OIDC Token
46+
- name: Debug OIDC Token length
4747
run: |
4848
TOKEN=$(curl -s -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
4949
"$ACTIONS_ID_TOKEN_REQUEST_URL&audience=npm" | jq -r '.value')
50-
echo "OIDC token (first 100 chars): ${TOKEN:0:100}"
50+
echo "OIDC token length: ${#TOKEN}"
51+
52+
53+
- name: Check semantic-release/npm version
54+
run: yarn why @semantic-release/npm
55+
56+
- name: Check semantic-release version
57+
run: yarn why semantic-release
5158

5259
- name: Run semantic-release
5360
env:

0 commit comments

Comments
 (0)