Skip to content

Commit 903bcd0

Browse files
authored
07.01 OIDC npm token 2 (#34)
* ci: update release job
1 parent 307b13a commit 903bcd0

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,13 @@ jobs:
5757
${{ steps.changelog.outputs.compareurl }}
5858
${{ steps.changelog.outputs.changelog }}
5959
60-
- uses: JS-DevTools/npm-publish@v4
60+
- name: Setup Node.js for npm publish
61+
if: steps.create_tag.outputs.successful == 'true'
62+
uses: actions/setup-node@v4
6163
with:
62-
access: public
64+
node-version-file: .nvmrc
65+
registry-url: 'https://registry.npmjs.org'
66+
67+
- name: Publish to npm
68+
if: steps.create_tag.outputs.successful == 'true'
69+
run: npm publish --access public

0 commit comments

Comments
 (0)