Skip to content

feat: add Lighthouse CI for quality scoring #7

feat: add Lighthouse CI for quality scoring

feat: add Lighthouse CI for quality scoring #7

Workflow file for this run

name: SonarCloud
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
sonarcloud:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: "22.12.0"
cache: npm
cache-dependency-path: astro-site/package-lock.json
- name: Install dependencies
working-directory: astro-site
run: npm ci
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v6
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}