An example repository for setting up Currents + Chromatic and run Playwright tests on GitHub Actions
pnpm installSet your own CURRENTS_RECORD_KEY and CURRENTS_PROJECT_ID:
CURRENTS_RECORD_KEY=xxx CURRENTS_PROJECT_ID=yyy pnpm exec pwc-pGitHub Actions:
- Set
CURRENTS_RECORD_KEYandCHROMATIC_PROJECT_TOKENrepository secrets - Set Currents project id in
currents.config.ts:config.projectIdincurrents.config.ts
Check out a GitHub Actions example build.
- Currents Reporter is configured in playwright.config.ts
- pwc-p runs Playwright using Currents Orchestration
- Chromatic collects the visual testing artifacts as a separate GHA job