This repository demonstrates how to report test results generated by Node.js to Currents - a cloud platform for debugging, troubleshooting and analyzing CI tests.
Follow the steps to reproduce this example:
- Create an account at https://app.currents.dev and obtain Project Id and Record Key
- Save the Record Key as Repository Secret
CURRENTS_RECORD_KEY
- Add
@currents/cmd
and@currents/node-test-reporter
as a dependency - Configure GitHub actions workflow:
- run the tests:
npm run test
- convert the results using
npm run convert
- upload the test results to Currents:
npx currents upload
- run the tests: