Skip to content

refactor: misc DX improvements #629

refactor: misc DX improvements

refactor: misc DX improvements #629

Workflow file for this run

name: CI
on:
push:
branches:
- main
paths:
- 'src/**'
- 'tests/**'
- 'pnpm-lock.yaml'
- '.github/workflows/main.yml'
pull_request:
paths:
- 'src/**'
- 'tests/**'
- 'pnpm-lock.yaml'
- '.github/workflows/main.yml'
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
tests:
runs-on: ubuntu-latest
env:
PLAYWRIGHT_BROWSERS_PATH: 0
steps:
- uses: actions/[email protected]
- uses: actions/[email protected]
with:
path: /home/runner/.local/share/pnpm/store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: 9
run_install: true
- uses: actions/[email protected]
with:
node-version: 22
cache: 'pnpm'
- name: Type Check
run: pnpm ts
- name: Install Playwright browsers
run: npx playwright install --with-deps
- name: Run e2e tests
run: |
pnpm build
pnpm test:ci-e2e
- name: Run unit tests
run: pnpm test:ci
- name: Coverage
uses: davelosert/[email protected]
if: ${{ always() }}