Optional apiThe api url used to fetch the upload url.
Only required if self-hosting codecov.
Example: apiUrl: 'https://api.codecov.io'
Defaults to https://api.codecov.io.
Optional bundleThe name for the bundle being built.
Required for uploading bundle analysis information.
The name must match the pattern /^[\w\d_:/@\.{}\[\]$-]+$/.
Example: bundleName: '@codecov/rollup-plugin'
Optional debugOption to enable debug logs for the plugin.
Optional dryWhen enabled information will not be uploaded to Codecov.
Example: dryRun: true
Defaults to false
Optional enableWhether you would like bundle analysis to be enabled. *
Example: enableBundleAnalysis: true
Defaults to false
Optional gitOverride value for git service used for tokenless uploads. Using tokenless uploads is only supported for public repositories.
Note: If an uploadToken is provided you do not need to provide a gitService.
The value must be one of the following:
githubgitlabbitbucketgithub_enterprisegitlab_enterprisebitbucket_serverExample gitService: 'github'
Optional oidcOptions for OIDC authentication.
Optional gitThe OIDC audience to use for authentication.
If you're using a self hosted version of Codecov, you will need to provide the audience for the OIDC token.
Defaults to https://codecov.io
When using GitHub Actions this option can be enabled to use OIDC authentication, which removes the requirement for an upload token.
OpenID Connect (OIDC) is required to be configured in order to use GitHub OIDC.
Defaults to false
Optional retryThe amount of times the upload function will retry to upload bundle analysis information.
Defaults to 3
Optional uploadOverride values for passing custom information to API.
Optional uploadThe upload token to use for uploading the bundle analysis information.
This field is required for uploading bundle analysis information in private repositories.
Alternatively if you're using GitHub Actions and have configured OIDC authentication you can
omit this field, and enable the oidc.useGitHubOIDC option.
This value can either be a global upload token or a repo token.
Generated using TypeDoc
Configuration options for the Codecov bundler plugin.