Skip to content

fix: use fixed sonarqube action version #101

fix: use fixed sonarqube action version

fix: use fixed sonarqube action version #101

Workflow file for this run

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
- name: Set NPM cache directory
run: echo "NPM_CONFIG_CACHE=$(mktemp -d)" >> $GITHUB_ENV
- run: npm ci
- name: Release
shell: bash
run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.ZUPIT_BOT_TOKEN }}