chore: update readme

This commit is contained in:
Thomas Sauter 2025-10-23 09:06:52 +02:00
parent e9ceac2b4b
commit 0501a2fd55
Signed by: thomas.sauter
GPG key ID: 015161F81E6A3C65
2 changed files with 12 additions and 10 deletions

View file

@ -17,12 +17,12 @@ on:
TEST_SCRIPT:
required: false
type: string
default: yarn run test --ci --passWithNoTests --coverage
default: yarn run test
LINT_SCRIPT:
required: false
type: string
default: yarn run lint --max-warnings=0
TYPE_CHECKING_SCRIPT:
default: yarn run lint
CHECK_TYPES_SCRIPT:
required: false
type: string
default: yarn run check-types
@ -68,7 +68,7 @@ jobs:
- name: Static type checking (TypeScript)
run: |
${{ inputs.TYPE_CHECKING_SCRIPT }}
${{ inputs.CHECK_TYPES_SCRIPT}}
- name: Run tests
if: ${{ inputs.TESTS_ENABLED == true }}

View file

@ -86,12 +86,14 @@ Setuped on org or repo level.
##### 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` | |
| `TEST_SCRIPT` | Script which runs when tests are enabled; default: `yarn run test:coverage:lcov` | |
| 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` | |
| `LINT_SCRIPT` | Script which runs eslint; default: `yarn run lint` | |
| `CHECK_TYPES_SCRIPT` | Script which runs tsc type checking: `yarn run check-types` | |
##### Secrets