Skip to content

Merge pull request #88 from trojs/renovate/babel-monorepo #160

Merge pull request #88 from trojs/renovate/babel-monorepo

Merge pull request #88 from trojs/renovate/babel-monorepo #160

Workflow file for this run

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