21 lines
514 B
YAML
21 lines
514 B
YAML
name: Playwright
|
|
on:
|
|
push:
|
|
pull_request:
|
|
jobs:
|
|
browser:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 24
|
|
cache: npm
|
|
- run: npm ci --ignore-scripts
|
|
- run: npm rebuild node-pty
|
|
- run: npx playwright install --with-deps chromium
|
|
- run: npm run test:e2e
|
|
- run: npm run build
|
|
- run: npm run electron:setup
|
|
- run: xvfb-run --auto-servernum npm run test:electron
|