Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Support/next upgrade #33

Support/next upgrade

Support/next upgrade #33

Workflow file for this run

name: Run Sonarqube code coverage
on:
push:
branches:
- main
pull_request:
types: [opened, synchronize, reopened]
permissions:
pull-requests: read
jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: yarn install --immutable --immutable-cache --check-cache --frozen-lockfile
- name: Run tests
run: yarn test --coverage
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}