Skip to content

chore(deps): update sonarsource/sonarqube-scan-action digest to 40f5b61 #2421

chore(deps): update sonarsource/sonarqube-scan-action digest to 40f5b61

chore(deps): update sonarsource/sonarqube-scan-action digest to 40f5b61 #2421

name: Lint, format and test
on:
push:
branches:
- "*"
pull_request:
branches:
- "*"
jobs:
lint-format-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: yarn
cache-dependency-path: ./yarn.lock
node-version: 22.20.0
- name: Install packages
run: yarn --immutable
- name: Run the linter
run: yarn lint:all
- name: Run backend tests
run: yarn test:unit:all
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@40f5b61913e891f9d316696628698051136015be
if: ${{ !github.event.pull_request.draft && !contains(github.head_ref || github.ref, 'renovate/') }}
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}