Skip to content

Bump the babel group with 5 updates #23

Bump the babel group with 5 updates

Bump the babel group with 5 updates #23

Workflow file for this run

name: SonarCloud
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
types: [opened, synchronize, reopened]
workflow_dispatch:
jobs:
build:
name: SonarCloud
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis=
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Enable corepack
run: corepack enable yarn
- name: Install dependencies
run: yarn install
- name: Generates lint report and file path formatting
run: |
yarn lint:ci:report
sed -i 's|/home/runner/work/flora/flora/|./|g' eslint-report.json
continue-on-error: true
- name: Test and coverage
run: yarn test:coverage
continue-on-error: true
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}