File tree Expand file tree Collapse file tree 3 files changed +130
-429
lines changed
Expand file tree Collapse file tree 3 files changed +130
-429
lines changed Original file line number Diff line number Diff line change @@ -65,14 +65,14 @@ jobs:
6565 run : ' sed -i -E "s/(\"version\": *\"[^\"]+)/\1-${GITHUB_SHA_SHORT}/" package.json'
6666 - name : Disable pre- and post-publish actions
6767 run : ' sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
68- - uses : JS-DevTools/npm-publish@v4
68+ - uses : JS-DevTools/npm-publish@v4.1.0
6969 if : github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
7070 with :
7171 token : ${{ secrets.NPM_TOKEN }}
7272 tag : ${{ env.GITHUB_REF_SLUG }}
7373
7474 npm-publish-latest :
75- needs : build
75+ needs : [ build, npm-publish-build]
7676 runs-on : ubuntu-latest
7777 if : github.ref == 'refs/heads/main'
7878 steps :
8484 node-version : 20.x
8585 - name : Disable pre- and post-publish actions
8686 run : ' sed -i -E "s/\"((pre|post)publish)/\"ignore:\1/" package.json'
87- - uses : JS-DevTools/npm-publish@v4
87+ - uses : JS-DevTools/npm-publish@v4.1.0
8888 if : github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'
8989 with :
9090 token : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments