Skip to content

add dashboard

add dashboard #58

Workflow file for this run

name: CI
# Run tests on every commit on any branch
on:
pull_request:
types: [opened, reopened, synchronize]
branches:
- main
jobs:
tests:
runs-on: ubuntu-latest
name: Execute Vite tests
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install pnpm
run: npm install -g pnpm@8
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Run tests with coverage
run: pnpm run coverage
- name: Upload coverage to SonarQube
uses: sonarsource/sonarqube-scan-action@v4
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}