diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index cb7963f..4278258 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -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 }} diff --git a/README.md b/README.md index 54a72cf..8d40f7b 100644 --- a/README.md +++ b/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