Skip to content

chore(tests): move from testcafe to playwright #5706

chore(tests): move from testcafe to playwright

chore(tests): move from testcafe to playwright #5706

Workflow file for this run

name: Library checks
on:
pull_request:
push:
branches:
- main
jobs:
unit:
name: Unit tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm build
working-directory: packages/browser
- run: pnpm test:unit
working-directory: packages/browser
- run: pnpm write-mangled-property-names
working-directory: packages/browser
- run: git diff --exit-code # fail if e.g. the mangled properties list has changed, see rollup.config.js
functional:
name: Functional tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm run test:functional
working-directory: packages/browser
lint:
name: Lint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pnpm prettier:check
working-directory: packages/browser
- run: pnpm lint
working-directory: packages/browser
- run: pnpm tsc -b
working-directory: packages/browser