Skip to content

Commit

Permalink
WIP: Try out Parallel Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ITenthusiasm committed Jan 2, 2024
1 parent 71f846f commit c61daa8
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/lint-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,20 @@ jobs:
cache: "npm"
- name: "Install Dependencies"
run: npm ci
- name: "Run Linters"
run: npm run lint
- name: "Check Formatting"
id: prettier
run: npx prettier --ignore-path .gitignore --check .
continue-on-error: true
- name: "Run ESLint"
id: eslint
run: npx eslint --ignore-path .gitignore .
continue-on-error: true
- name: "Validate TypeScript Types"
id: typescript
run: npx tsc --noEmit
continue-on-error: true
- name: "Verify That All Checks Succeeded"
if: steps.prettier.outcome != 'success' || steps.eslint.outcome != 'success' || steps.ts.outcome != 'success'
run: |
echo "1 or more checks failed"
exit 1

0 comments on commit c61daa8

Please sign in to comment.