fix: remove spread to avoid stack limit error #1345
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |