Skip to content

Commit

Permalink
ci: enable zx-semrel
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Jan 29, 2025
1 parent eca50f0 commit ccf1cd8
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,18 @@ jobs:
# coverageLocations: |
# ${{github.workspace}}/target/coverage/lcov.info:lcov

# - name: Semantic Release
# if: github.ref == 'refs/heads/main'
# env:
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
# NPM_PROVENANCE: true
# GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# GIT_BRANCH: 'main'
# GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
# GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
# GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
# GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
# run: npm_config_yes=true npx zx-semrel
- name: Semantic Release (npm)
if: github.ref == 'refs/heads/main'
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_PROVENANCE: true
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_BRANCH: 'main'
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }}
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }}
GIT_COMMITTER_NAME: ${{ secrets.GIT_COMMITTER_NAME }}
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}
run: npx zx-semrel

pr:
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit ccf1cd8

Please sign in to comment.