Jest - GitHub Actions
Running Jest in Parallel on GitHub Actions using Matrix Workflow
TL;DR Check out the example repository:
https://github.com/currents-dev/currents-jest-github-actions-example
Currents uses the native Jest sharding (Jest v28+) to split the tests between multiple containers.
Here's an example workflow configuration file:
.github/workflows /jest.yml
Get your Record Key and set GH secret variable
CURRENTS_RECORD_KEY
.Set the Project ID
Option 1: Update
npx currents upload
--project-id
argument to your project's id.Option 2: Set it up in the reporter config instead.
Explore
Last updated