Skip to content

Commit 09e7ba5

Browse files
authored
Merge branch 'main' into release-please--branches--main--components--passage-flex-node
2 parents 2d2c482 + 94e2c45 commit 09e7ba5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ jobs:
3131
- name: Build
3232
if: ${{ steps.release.outputs.release_created }}
3333
run: npm run build
34-
- name: Publish to NPM
34+
- uses: JS-DevTools/npm-publish@v3
35+
with:
36+
token: ${{ secrets.NPM_ACCESS_TOKEN }}
37+
id: publish
3538
if: ${{ steps.release.outputs.release_created }}
36-
run: npm publish --dry-run
37-
env:
38-
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}
3939
# https://github.com/googleapis/release-please-action?tab=readme-ov-file#creating-majorminor-tags
4040
- name: Tag versions
41-
if: ${{ steps.release.outputs.release_created }}
41+
if: ${{ steps.release.outputs.release_created && steps.publish.outputs.type }}
4242
run: |
4343
git config user.name github-actions[bot]
4444
git config user.email 41898282+github-actions[bot]@users.noreply.github.com

0 commit comments

Comments
 (0)