Skip to content

2.1.1

2.1.1 #24

Workflow file for this run

name: QA checks
on:
pull_request:
branches:
- main
jobs:
qa:
name: Lint, Typecheck, Test and Build source files
runs-on: [self-hosted, Linux]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Lint source files
run: npm run lint
- name: Run Prettier
run: npm run prettier
- name: Check types
run: npm run typecheck
- name: Run tests
run: npm run test:coverage
- name: Build package
run: npm run build
- name: 'Report Coverage'
if: always()
uses: davelosert/vitest-coverage-report-action@v2