Skip to content

test: wip: comment under pr #10

test: wip: comment under pr

test: wip: comment under pr #10

Workflow file for this run

name: "Chromatic"
on: push
jobs:
cypress:
name: Run Cypress
runs-on: ubuntu-latest
container:
image: cypress/browsers:node-22.13.1-chrome-132.0.6834.83-1-ff-134.0.2-edge-132.0.2957.115-1
options: --user 1001
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install dependencies
run: npm ci
working-directory: regression-test
- name: Run Cypress tests
uses: cypress-io/github-action@v6
env:
ELECTRON_EXTRA_LAUNCH_ARGS: "--remote-debugging-port=9222"
with:
start: npm run dev
working-directory: regression-test
- uses: actions/upload-artifact@v4
with:
name: test-results
path: regression-test/cypress/downloads
retention-days: 30
chromatic:
name: Run Chromatic
needs: cypress
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22.12.0
- name: Install dependencies
run: npm ci
working-directory: regression-test
- name: Download Cypress test results
uses: actions/download-artifact@v4
with:
name: test-results
path: regression-test/cypress/downloads
- name: Run Chromatic
uses: chromaui/action@latest
with:
cypress: true
projectToken: ${{ secrets.CHROMATIC_APP_CODE }}
env:
CHROMATIC_ARCHIVE_LOCATION: regression-test/cypress/downloads