Skip to content

Commit 82fbda2

Browse files
authored
Update main.yml
Signed-off-by: Cody Olsen <81981+stipsan@users.noreply.github.com>
1 parent 381e68c commit 82fbda2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,15 +89,15 @@ jobs:
8989
cache: npm
9090
- run: npm ci
9191
# Branches that will release new versions are defined in .releaserc.json
92-
- run: npx semantic-release
92+
- run: npm run release
9393
# Don't allow interrupting the release step if the job is cancelled, as it can lead to an inconsistent state
9494
# e.g. git tags were pushed but it exited before `npm publish`
9595
if: always()
9696
env:
9797
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9898
NPM_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
9999
# Re-run semantic release with rich logs if it failed to publish for easier debugging
100-
- run: npx semantic-release --dry-run --debug
100+
- run: npm run release -- --dry-run --debug
101101
if: failure()
102102
env:
103103
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)