Skip to content

Mapping

Mapping #879

Workflow file for this run

name: Run unit tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node-version: [24.x]
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 0 # Disable shallow clone for sonar
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
- name: Run Unit Tests
run: npm run unit-tests-cov
- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@fd88b7d7ccbaefd23d8f36f73b59db7a3d246602 # pinned v6
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}