Skip to content

chore(deps-dev): bump the testing group across 1 directory with 3 updates #221

chore(deps-dev): bump the testing group across 1 directory with 3 updates

chore(deps-dev): bump the testing group across 1 directory with 3 updates #221

Workflow file for this run

name: CI
on:
pull_request:
merge_group:
push:
branches: [main]
# Cancel in-progress runs on the same ref when a new commit is pushed.
concurrency:
group: ci-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
name: Build, test & quality
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
with:
# Sonar needs full git history for blame / new-code detection
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v6
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'pnpm'
- name: Preflight — tool versions
run: |
echo "node: $(node --version)"
echo "pnpm: $(pnpm --version)"
echo "docker: $(docker --version)"
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build
- name: Lint
run: pnpm run lint
- name: Unit tests (with coverage)
run: pnpm run test
- name: Integration tests (with coverage)
run: pnpm run test:integration
- name: SonarCloud scan
uses: SonarSource/sonarcloud-github-action@v5
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}