feat: added test script substitution

This commit is contained in:
Thomas Sauter 2025-10-22 22:49:44 +02:00
parent 86c23b7d53
commit d1564129b6
Signed by: thomas.sauter
GPG key ID: 015161F81E6A3C65
2 changed files with 13 additions and 6 deletions

View file

@ -76,11 +76,14 @@ Linting, type checking, sonarqube, dependency tracking, any testing
##### Inputs
| Key | Description | Required |
| ------------------- | ----------------------------------------------------------------------------------- | -------- |
| `SONARQUBE_ENABLED` | Send source to sonarqube for code analysis; default: `false` | |
| `TESTS_ENABLED` | Enable test suites; default: `false` | |
| `SETUP_REPO_SCRIPT` | Script which runs after install for setting up the repo; default: `yarn run setup`) | |
| Key | Description | Required |
| ------------------- | ---------------------------------------------------------------------------------- | -------- |
| `SONARQUBE_ENABLED` | Send source to sonarqube for code analysis; default: `false` | |
| `TESTS_ENABLED` | Enable test suites; default: `false` | |
| `SETUP_REPO_SCRIPT` | Script which runs after install for setting up the repo; default: `yarn run setup` | |
| `TEST_SCRIPT` | Script which runs when tests are enabled; default: `yarn run test:coverage:lcov` | |
TEST_SCRIPT
##### Secrets