chore: update readme
This commit is contained in:
parent
e9ceac2b4b
commit
0501a2fd55
2 changed files with 12 additions and 10 deletions
8
.github/workflows/lint.yaml
vendored
8
.github/workflows/lint.yaml
vendored
|
|
@ -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 }}
|
||||
|
|
|
|||
14
README.md
14
README.md
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue