Skip to content

chore: use jest & playwright testing 3d plots (#16) #10

chore: use jest & playwright testing 3d plots (#16)

chore: use jest & playwright testing 3d plots (#16) #10

Workflow file for this run

name: build
on: [push]
jobs:
build:
runs-on: macOS-latest
defaults:
run:
working-directory: ./3d
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: "16"
- name: Install Playwright browsers
run: npx playwright install --with-deps
- name: Run CI
run: |
npm install
npm run ci
- name: Upload snapshots to GitHub Actions Artifacts
if: ${{ failure() }}
uses: actions/upload-artifact@v3
with:
name: snapshots
path: |
3d/__tests__/e2e/snapshots/*-actual.*
3d/__tests__/e2e/snapshots/*-diff.*
retention-days: 1