Skip to content

chore(.github/workflows): fix tests.yaml #3

chore(.github/workflows): fix tests.yaml

chore(.github/workflows): fix tests.yaml #3

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
unit:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build:lib
- run: npm test
e2e:
name: E2E Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci
- run: npm run build:lib
- run: npx playwright install --with-deps chromium
- run: npm run test:e2e