Skip to content

chore(deps): bump SonarSource/sonarcloud-github-action from 2.1.1 to 2.2.0 #218

chore(deps): bump SonarSource/sonarcloud-github-action from 2.1.1 to 2.2.0

chore(deps): bump SonarSource/sonarcloud-github-action from 2.1.1 to 2.2.0 #218

Workflow file for this run

name: Continuous Integration
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
jobs:
ci:
name: Continuous Integration
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install Dependencies
run: npm install
- name: Unit Tests
run: npm run test
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@v2.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}