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 36
36
build :
37
37
runs-on : ubuntu-latest
38
38
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
41
41
with :
42
42
cache : npm
43
43
node-version : lts/*
@@ -92,16 +92,10 @@ jobs:
92
92
node-version : lts/*
93
93
- run : npm ci
94
94
# Branches that will release new versions are defined in .releaserc.json
95
- - run : npx semantic-release
95
+ - run : semantic-release
96
96
# Don't allow interrupting the release step if the job is cancelled, as it can lead to an inconsistent state
97
97
# e.g. git tags were pushed but it exited before `npm publish`
98
98
if : always()
99
99
env :
100
100
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
101
101
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