kt-actions/NPM CI SonarQube
NPM Continuous Integration SonarQube action
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Apr 28, 2025
- License
- MIT
Pinned Snippet
uses: kt-actions/npm-ci-sonar@9ea23ff6f4b98ae76d35a67a186c015caa59a455 # v1.0.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| node-version | Version Spec to use. Examples: 18, 18.x, 18.0.0, 18.0.x, 18.0.0-x, 18.0.0-x64. | no | — |
| matrix-node-version | Version Spec array, i.e. from matrix.node-version. Latest will be selected from this array and setup-node will be run with the selected version. | no | — |
| matrix-node-version-earliest | Set this option if you want the action to select for the earliest available version that satisfies the version spec. | — | false |
| install-script | Bash script to run after setting up Node.js. | — | npm ci |
| run-script | Bash script to run after setting up Node.js. | — | npm run coverage |
| cache-additional-path | Additional paths to cache. This is a multi-line list of paths. | — | — |
| cache-reset | Delete the cache if it exists to cache the new one. | — | false |
| working-directory | The working directory which contains the **/package-lock.json files | — | . |
| sonar-token | SonarQube token to use for authentication. | — | — |
| fail-on-empty-token | Fail if the token is empty. | — | false |
Outputs
no outputs