File tree Expand file tree Collapse file tree 1 file changed +23
-2
lines changed
Expand file tree Collapse file tree 1 file changed +23
-2
lines changed Original file line number Diff line number Diff line change 66 - main
77
88jobs :
9- npmjs :
9+ release :
1010 runs-on : ubuntu-latest
11+ steps :
12+ - name : Repo checkout
13+ uses : actions/checkout@v4
14+
15+ - name : Bump version and push tag
16+ id : bump
17+ uses : hennejg/github-tag-action@v4.3.1
18+ with :
19+ github_token : ${{ secrets.GITHUB_TOKEN }}
20+ release_branches : main
21+
22+ - name : Release tag
23+ uses : ncipollo/release-action@v1
24+ with :
25+ tag : ${{ steps.bump.outputs.new_tag }}
26+ generateReleaseNotes : true
27+
28+ publish-npmjs :
29+ runs-on : ubuntu-latest
30+ needs : [release]
1131 permissions :
1232 contents : read
1333 id-token : write
2747 env :
2848 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
2949
30- github :
50+ publish- github :
3151 runs-on : ubuntu-latest
52+ needs : [release]
3253 permissions :
3354 contents : read
3455 id-token : write
You can’t perform that action at this time.
0 commit comments