Skip to content

Merge pull request #286 from trojs/renovate/eslint-stylistic-monorepo #396

Merge pull request #286 from trojs/renovate/eslint-stylistic-monorepo

Merge pull request #286 from trojs/renovate/eslint-stylistic-monorepo #396

Workflow file for this run

name: SonarCloud
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
- name: npm install, lint, and test
run: |
npm ci
npm run lint:report
npm test
env:
CI: true
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}