Skip to content

Merge pull request #487 from preactjs/remove-spread #1350

Merge pull request #487 from preactjs/remove-spread

Merge pull request #487 from preactjs/remove-spread #1350

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@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- 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@v4
with:
name: playwright-report
path: playwright-report
retention-days: 5