- commit-token: A Github Token with
repos
scope. - branch-name: A branch to store test results files.
yarn install
&yarn run test
- Create or update test results files of specific branch for tests badges.
Will be like:
https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/{YourUserName}/{YourProjectName}/{NameOfYourBranchToStoreTestResults}/{NameOfYourBranchToShowBadge}-test-results.json