Skip to content

Switch to vitest browser mode for tests #28

Switch to vitest browser mode for tests

Switch to vitest browser mode for tests #28

Workflow file for this run

name: Pull Request Checks
on:
pull_request:
branches:
- main
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install 🔧
run: npm ci
- name: Prettier 💅
run: npm run prettier
unit-test:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install 🔧
run:
- npm ci

Check failure on line 41 in .github/workflows/pullrequest.yml

View workflow run for this annotation

GitHub Actions / Pull Request Checks

Invalid workflow file

The workflow is not valid. .github/workflows/pullrequest.yml (Line: 41, Col: 11): A sequence was not expected
- npx playwright install chromium --with-deps
- name: Test 🔬
run: npm run test