Skip to content

test: migrate to vitest and playwright #1

test: migrate to vitest and playwright

test: migrate to vitest and playwright #1

Workflow file for this run

name: Tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Set Node.js version
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install npm dependencies
run: npm install
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run core unit tests
run: npm run test:coverage
- name: Run browser tests
run: npx playwright test
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}