Fix global already defined #36
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |