1 parent 23acd0f commit 2d2fa58Copy full SHA for 2d2fa58
1 file changed
.github/workflows/publish.yml
@@ -25,7 +25,6 @@ jobs:
25
with:
26
node-version: "18"
27
cache: "npm"
28
- registry-url: "https://registry.npmjs.org"
29
30
- name: Install dependencies
31
run: npm ci
@@ -53,10 +52,7 @@ jobs:
53
52
54
- name: Publish to NPM
55
if: steps.version-check.outputs.changed == 'true'
56
- run: |
57
- OIDC_TOKEN=$(curl -sS "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=npmjs" \
58
- -H "Authorization: bearer ${ACTIONS_ID_TOKEN_REQUEST_TOKEN}" | jq -r .value)
59
- NODE_AUTH_TOKEN=$OIDC_TOKEN npm publish --provenance --access public
+ run: npm publish --provenance --access public
60
61
- name: Create Git tag
62
0 commit comments