Skip to content

Latest commit

 

History

History

README.md

currents-playwright-pnpm-example

An example repository for setting up Currents + Chromatic and run Playwright tests on GitHub Actions

Setup

pnpm install

Run tests locally

Set your own CURRENTS_RECORD_KEY and CURRENTS_PROJECT_ID:

CURRENTS_RECORD_KEY=xxx CURRENTS_PROJECT_ID=yyy pnpm exec pwc-p

GitHub Actions:

  • Set CURRENTS_RECORD_KEY and CHROMATIC_PROJECT_TOKEN repository secrets
  • Set Currents project id in currents.config.ts:config.projectId in currents.config.ts

Check out a GitHub Actions example build.

Configuration Notes