Skip to content

Commit 91bbaa1

Browse files
committed
fix publish
1 parent aebd706 commit 91bbaa1

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.github/workflows/publish-evm.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,10 @@ jobs:
2424
- name: get-npm-version
2525
id: package-version
2626
uses: martinbeentjes/npm-get-version-action@master
27+
28+
- name: Remove token auth (force OIDC)
29+
run: |
30+
rm -f .npmrc ~/.npmrc || true
31+
npm config delete "//registry.npmjs.org/:_authToken" || true
2732
2833
- run: npm publish --access public

.github/workflows/publish-svm.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,10 @@ jobs:
2424
- name: get-npm-version
2525
id: package-version
2626
uses: martinbeentjes/npm-get-version-action@master
27+
28+
- name: Remove token auth (force OIDC)
29+
run: |
30+
rm -f .npmrc ~/.npmrc || true
31+
npm config delete "//registry.npmjs.org/:_authToken" || true
2732
2833
- run: npm publish --access public

.github/workflows/publish.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,9 @@ jobs:
3232
- name: Upload version to S3 (depay-libraries)
3333
run: aws s3 cp dist/umd/index.bundle.js s3://depay-libraries/widgets/v${{ steps.package-version.outputs.current-version }}.js
3434

35+
- name: Remove token auth (force OIDC)
36+
run: |
37+
rm -f .npmrc ~/.npmrc || true
38+
npm config delete "//registry.npmjs.org/:_authToken" || true
39+
3540
- run: npm publish --access public

0 commit comments

Comments
 (0)