Skip to content

Merge develop into main #52

Merge develop into main

Merge develop into main #52

name: Quality Check (Build, Lint, Format, Test, Sonarcloud)
on:
push:
branches:
- main
pull_request:
branches:
- main
- develop
workflow_dispatch:
workflow_call:
jobs:
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
- name: Install dependencies
run: npm ci
- name: Run Build
run: npm run build
- name: Run Linting
run: npm run lint
- name: Run Format Check
run: npm run format:check
- name: Run Tests
run: npm run test:coverage
- name: Run SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}