carlosdevpereira/Test & Publish to Cloudflare
Generates a test coverage report, uploads it to Cloudflare and comments results on available pull requests.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| framework | The test framework to run the unit tests of the repository. (Only 'jest' is available for now.) | — | jest |
| githubToken | The github token that will be used to comment the results on available pull requests. | yes | — |
| cloudflareProjectName | The name of the project on Cloudflare that will receive the coverage report. | yes | — |
| cloudflareApiToken | The API Token that will be used to upload the coverage report to Cloudflare. | yes | — |
| cloudflareAccountId | The Account ID that will be used to upload the coverage report to Cloudflare. | yes | — |
| baseCloudflareDeploymentUrl | The base URL configured on the target Cloudflare project from which the deployments will be served - It can also be a custom domain configured on the target project. (defaults to https://${cloudflareProjectName}.pages.dev) | — | — |
| experimentalVmModules | Defines if the action should run node with experimental-vm-modules support. | — | — |
Outputs
| name | description |
|---|---|
| coverage | The final coverage percentage - average between the coverage values for Statements/Branches/Functions and Lines. |
| reportUrl | The final URL to the coverage report served by Cloudflare. |
| affectedPullRequestUrls | Pull request URL's that this action wrote comments on. |