File tree Expand file tree Collapse file tree 3 files changed +42
-277
lines changed Expand file tree Collapse file tree 3 files changed +42
-277
lines changed Original file line number Diff line number Diff line change 3636 build :
3737 runs-on : ubuntu-latest
3838 steps :
39- - uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
40- - uses : actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
39+ - uses : actions/checkout@v3
40+ - uses : actions/setup-node@v3
4141 with :
4242 cache : npm
4343 node-version : lts/*
@@ -92,16 +92,10 @@ jobs:
9292 node-version : lts/*
9393 - run : npm ci
9494 # Branches that will release new versions are defined in .releaserc.json
95- - run : npx semantic-release
95+ - run : semantic-release
9696 # Don't allow interrupting the release step if the job is cancelled, as it can lead to an inconsistent state
9797 # e.g. git tags were pushed but it exited before `npm publish`
9898 if : always()
9999 env :
100100 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
101101 NPM_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
102- # Re-run semantic release with rich logs if it failed to publish for easier debugging
103- - run : npx semantic-release --dry-run --debug
104- if : failure()
105- env :
106- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
107- NPM_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
You can’t perform that action at this time.
0 commit comments