https://github.com/aelfproject/frontend-ci-action
Generate badges of test results.
https://github.com/aelfproject/frontend-ci-action
Last synced: 21 days ago
JSON representation
Generate badges of test results.
- Host: GitHub
- URL: https://github.com/aelfproject/frontend-ci-action
- Owner: AElfProject
- Created: 2024-07-30T03:06:27.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-07-30T06:56:53.000Z (almost 2 years ago)
- Last Synced: 2024-07-31T07:23:40.776Z (almost 2 years ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# frontend-ci-action
## Inputs
- commit-token: A Github Token with `repos` scope.
- branch-name: A branch to store test results files.
## What did this action do
1. `yarn install` & `yarn run test`
2. Create or update test results files of specific branch for tests badges.
## Badge url
Will be like:
```
https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/{YourUserName}/{YourProjectName}/{NameOfYourBranchToStoreTestResults}/{NameOfYourBranchToShowBadge}-test-results.json
```