Skip to content

fix: don't bundle everything into console recorder #2208

fix: don't bundle everything into console recorder

fix: don't bundle everything into console recorder #2208

Workflow file for this run

name: Tests
on: [push, pull_request]
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Setup Node.js lts/*
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install Dependencies
run: yarn install --frozen-lockfile
- name: Build Project
run: NODE_OPTIONS='--max-old-space-size=4096' yarn build:all
- name: Check types
run: yarn check-types
- name: Run tests
# run: PUPPETEER_EXECUTABLE_PATH=${{ steps.setup-chrome.outputs.chrome-path }} PUPPETEER_HEADLESS=true xvfb-run --server-args="-screen 0 1920x1080x24" yarn test
run: PUPPETEER_HEADLESS=true xvfb-run --server-args="-screen 0 1920x1080x24" yarn test
- name: Upload diff images to GitHub
uses: actions/upload-artifact@v3
if: failure()
with:
name: image-diff
path: packages/**/__image_snapshots__/__diff_output__/*.png
if-no-files-found: ignore
- name: Check bundle sizes
if: success()
uses: preactjs/compressed-size-action@v2
with:

Check failure on line 47 in .github/workflows/ci-cd.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-cd.yml

Invalid workflow file

You have an error in your yaml syntax on line 47
install-script: "yarn install --frozen-lockfile"
build-script: 'NODE_OPTIONS='--max-old-space-size=4096' yarn build:all'
compression: 'none'
pattern: '**/dist/*.js'