Added type checking and linting to workflow
This commit is contained in:
parent
a982ae83a9
commit
304d5188b8
1 changed files with 4 additions and 1 deletions
5
.github/workflows/sonar.yml
vendored
5
.github/workflows/sonar.yml
vendored
|
|
@ -25,9 +25,12 @@ jobs:
|
||||||
cache: "npm"
|
cache: "npm"
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
- name: Type checking and linting
|
||||||
|
run: |
|
||||||
|
npm run type-check &&
|
||||||
|
npm run lint
|
||||||
- name: Run tests and generate coverage
|
- name: Run tests and generate coverage
|
||||||
run: npm run coverage
|
run: npm run coverage
|
||||||
continue-on-error: true
|
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
- name: SonarQube Scan
|
- name: SonarQube Scan
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue