File tree 1 file changed +12
-12
lines changed
1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -43,18 +43,18 @@ jobs:
43
43
# coverageLocations: |
44
44
# ${{github.workspace}}/target/coverage/lcov.info:lcov
45
45
46
- # - name: Semantic Release
47
- # if: github.ref == 'refs/heads/main'
48
- # env:
49
- # NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
50
- # NPM_PROVENANCE: true
51
- # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
52
- # GIT_BRANCH: 'main'
53
- # GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
54
- # GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
55
- # GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
56
- # GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
57
- # run: npm_config_yes=true npx zx-semrel
46
+ - name : Semantic Release (npm)
47
+ if : github.ref == 'refs/heads/main'
48
+ env :
49
+ NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
50
+ NPM_PROVENANCE : true
51
+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52
+ GIT_BRANCH : ' main'
53
+ GIT_AUTHOR_NAME : ${{ secrets.GIT_AUTHOR_NAME }}
54
+ GIT_AUTHOR_EMAIL : ${{ secrets.GIT_AUTHOR_EMAIL }}
55
+ GIT_COMMITTER_NAME : ${{ secrets.GIT_COMMITTER_NAME }}
56
+ GIT_COMMITTER_EMAIL : ${{ secrets.GIT_COMMITTER_EMAIL }}
57
+ run : npx zx-semrel
58
58
59
59
pr :
60
60
if : github.event_name == 'pull_request'
You can’t perform that action at this time.
0 commit comments