update
This commit is contained in:
parent
94b3548ec8
commit
f4a5e749fa
1 changed files with 20 additions and 4 deletions
24
.github/workflows/lint.yaml
vendored
24
.github/workflows/lint.yaml
vendored
|
|
@ -56,27 +56,43 @@ jobs:
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
echo "--------------------------------------------------------------------"
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
echo "Install dependencies"
|
echo "Install dependencies"
|
||||||
echo script: "${{ inputs.INSTALL_SCRIPT }}"
|
echo script: "${{ inputs.INSTALL_SCRIPT }}"
|
||||||
echo "--------------------------------------------------------------------"
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
${{ inputs.INSTALL_SCRIPT }}
|
${{ inputs.INSTALL_SCRIPT }}
|
||||||
|
|
||||||
- name: Setup repostitory
|
- name: Setup repostitory
|
||||||
run: |
|
run: |
|
||||||
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
|
echo "Setup repostitory"
|
||||||
|
echo script: "${{ inputs.SETUP_REPO_SCRIPT }}"
|
||||||
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
${{ inputs.SETUP_REPO_SCRIPT }}
|
${{ inputs.SETUP_REPO_SCRIPT }}
|
||||||
|
|
||||||
- name: Lint source code (eslint)
|
- name: Lint source code (eslint)
|
||||||
run: |
|
run: |
|
||||||
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
|
echo "Lint source code (eslint)"
|
||||||
|
echo script: "${{ inputs.LINT_SCRIPT }}"
|
||||||
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
${{ inputs.LINT_SCRIPT }}
|
${{ inputs.LINT_SCRIPT }}
|
||||||
|
|
||||||
- name: Static type checking (TypeScript)
|
- name: Static type checking (TypeScript)
|
||||||
run: |
|
run: |
|
||||||
${{ inputs.CHECK_TYPES_SCRIPT}}
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
|
echo "Static type checking (TypeScript)"
|
||||||
|
echo script: "${{ inputs.CHECK_TYPES_SCRIPT }}"
|
||||||
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
|
${{ inputs.CHECK_TYPES_SCRIPT }}
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
if: ${{ inputs.TESTS_ENABLED == true }}
|
if: ${{ inputs.TESTS_ENABLED == true }}
|
||||||
run: |
|
run: |
|
||||||
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
|
echo "Run tests"
|
||||||
|
echo script: "${{ inputs.TEST_SCRIPT }}"
|
||||||
|
echo "-----------------------------------------------------------------------------------------------------"
|
||||||
${{ inputs.TEST_SCRIPT }}
|
${{ inputs.TEST_SCRIPT }}
|
||||||
|
|
||||||
- name: Static code analysis with SonarQube
|
- name: Static code analysis with SonarQube
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue