Skip to content

review

review #23

Workflow file for this run

name: Playwright Tests
on:
push:
branches: main
pull_request:
branches: main
jobs:
test:
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: "latest"
cache: pnpm
- name: Install dependencies
shell: bash
run: pnpm install --frozen-lockfile
- name: Build project
run: pnpm run build
- name: Install Chromium
run: pnpm exec playwright install chromium --with-deps
- name: Run Chromatic
uses: chromaui/action@latest
with:
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}