Skip to content

Update documentation (#143) #263

Update documentation (#143)

Update documentation (#143) #263

Workflow file for this run

name: Test and Lint Code
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
verify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0 # Shallow clones is disabled for a better relevancy of SonarCloud analysis
- uses: jdx/mise-action@v4
- name: Install dependencies
run: mise run install
- name: Typecheck
run: mise run typecheck
- name: Lint
run: mise run lint
- name: Test
run: mise run test:coverage
- name: SonarCloud Scan
uses: SonarSource/sonarqube-scan-action@v8
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
continue-on-error: true
- name: Install Playwright Browsers
run: mise run playwright:install
- name: Build
run: mise run build
- name: Run E2E tests
run: mise run test:e2e
- name: Upload coverage
uses: actions/upload-artifact@v7
with:
name: coverage-report
path: coverage/
- name: Upload Playwright report
if: failure()
uses: actions/upload-artifact@v7
with:
name: playwright-report
path: playwright-report/