Skip to content

Commit 028bbcf

Browse files
authored
ci: npm release (#15)
2 parents 92a435d + 09f4510 commit 028bbcf

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,9 @@ jobs:
4343
mkdir -p release
4444
npm pack --pack-destination release
4545
46-
- name: Debug OIDC Token length
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 length: ${#TOKEN}"
51-
52-
53-
- name: Check semantic-release/npm version
54-
run: yarn why @semantic-release/npm
5546
56-
- name: Check semantic-release version
57-
run: yarn why semantic-release
47+
- name: Test publish with OIDC
48+
run: npm publish --dry-run --access public --provenance --tag=ci-test
5849

5950
- name: Run semantic-release
6051
env:

0 commit comments

Comments
 (0)