fix: check condition on sonar analyze action for artifact file name #83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
release-npm: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.ZUPIT_BOT_TOKEN }} | |
- name: Setup git user | |
run: | | |
git config user.name "ZupitDevs" | |
git config user.email "[email protected]" | |
- uses: actions/setup-node@v3 | |
with: | |
cache: npm | |
node-version: 18 | |
- run: npm ci | |
- name: Release | |
shell: bash | |
run: npm run semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.ZUPIT_BOT_TOKEN }} |