update dependencies (stick with vue-router 4.2.5 and eslint 8.57.0) #123
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: Build | |
on: | |
push: | |
branches-ignore: | |
- experimental/** | |
- master | |
pull_request: | |
branches-ignore: | |
- experimental/** | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
SONARCLOUD_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Read properties from package.json | |
id: package_json | |
uses: zoexx/[email protected] | |
with: | |
file_path: package.json | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: npm | |
- run: npm install | |
- run: npm run lint | |
- run: npm run test:coverage | |
- run: npm run build | |
- uses: SonarSource/sonarcloud-github-action@master | |
if: env.SONARCLOUD_TOKEN != null | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
SONAR_TOKEN: ${{ env.SONARCLOUD_TOKEN }} | |
with: | |
args: -Dsonar.projectVersion=${{steps.package_json.outputs.version}} |