Test improvements #7
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: CI | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install node | |
uses: actions/setup-node@v4 | |
- name: Install npm dependencies | |
run: npm ci | |
- name: Compile typescript | |
run: npm run build | |
- name: Check for diffs | |
run: git diff --no-ext-diff --exit-code | |
- name: Install Playwright browsers | |
run: npx playwright install --with-deps | |
- name: Run tests | |
run: npm run test |