Skip to content

Commit ccf1cd8

Browse files
committed
ci: enable zx-semrel
1 parent eca50f0 commit ccf1cd8

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Diff for: .github/workflows/ci.yaml

+12-12
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ jobs:
4343
# coverageLocations: |
4444
# ${{github.workspace}}/target/coverage/lcov.info:lcov
4545

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
5858

5959
pr:
6060
if: github.event_name == 'pull_request'

0 commit comments

Comments
 (0)