Skip to content

Merge pull request #77 from trojs/renovate/eslint-plugin-n-17.x-lockfile #172

Merge pull request #77 from trojs/renovate/eslint-plugin-n-17.x-lockfile

Merge pull request #77 from trojs/renovate/eslint-plugin-n-17.x-lockfile #172

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 }}