Skip to content

Merge pull request #78 from trojs/renovate/eslint-plugin-jsdoc-50.x-l… #205

Merge pull request #78 from trojs/renovate/eslint-plugin-jsdoc-50.x-l…

Merge pull request #78 from trojs/renovate/eslint-plugin-jsdoc-50.x-l… #205

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.11'
cache: "npm"
- name: npm install, lint, and test
run: |
npm ci
npm run lint:report
npm test
npm run test:coverage
env:
CI: true
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}