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:
|
TEST_SCRIPT:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: yarn run test --ci --passWithNoTests --coverage
|
default: yarn run test
|
||||||
LINT_SCRIPT:
|
LINT_SCRIPT:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: yarn run lint --max-warnings=0
|
default: yarn run lint
|
||||||
TYPE_CHECKING_SCRIPT:
|
CHECK_TYPES_SCRIPT:
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
default: yarn run check-types
|
default: yarn run check-types
|
||||||
|
|
@ -68,7 +68,7 @@ jobs:
|
||||||
|
|
||||||
- name: Static type checking (TypeScript)
|
- name: Static type checking (TypeScript)
|
||||||
run: |
|
run: |
|
||||||
${{ inputs.TYPE_CHECKING_SCRIPT }}
|
${{ inputs.CHECK_TYPES_SCRIPT}}
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
if: ${{ inputs.TESTS_ENABLED == true }}
|
if: ${{ inputs.TESTS_ENABLED == true }}
|
||||||
|
|
|
||||||
|
|
@ -87,11 +87,13 @@ Setuped on org or repo level.
|
||||||
##### Inputs
|
##### Inputs
|
||||||
|
|
||||||
| Key | Description | Required |
|
| Key | Description | Required |
|
||||||
| ------------------- | ---------------------------------------------------------------------------------- | -------- |
|
| -------------------- | ---------------------------------------------------------------------------------- | -------- |
|
||||||
| `SONARQUBE_ENABLED` | Send source to sonarqube for code analysis; default: `false` | |
|
| `SONARQUBE_ENABLED` | Send source to sonarqube for code analysis; default: `false` | |
|
||||||
| `TESTS_ENABLED` | Enable test suites; 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` | |
|
| `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` | 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
|
##### Secrets
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue