Skip to content

Merge pull request #486 from preactjs/update_deps #1343

Merge pull request #486 from preactjs/update_deps

Merge pull request #486 from preactjs/update_deps #1343

Workflow file for this run

name: Node CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install Deps
run: yarn
- name: Install Playwright
run: yarn playwright install-deps chromium
- name: Run tests
run: |
yarn lint
yarn test
yarn build:chrome
PREACT_VERSION=10 yarn test:e2e --retries 5
env:
CI: true
- name: Upload test results
if: always()
uses: actions/upload-artifact@v2
with:
name: playwright-report
path: playwright-report
retention-days: 5