We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e817992 commit 224218fCopy full SHA for 224218f
.github/workflows/pr-checks.yml
@@ -24,16 +24,23 @@ jobs:
24
uses: actions/checkout@v4
25
26
- name: Lint
27
+ id: lint
28
run: npm run-script lint-ci
29
30
- name: Upload sarif
31
uses: github/codeql-action/upload-sarif@v3
32
# Only upload SARIF for the latest version of Node.js
- if: matrix.node-types-version == 'current'
33
+ if: matrix.node-types-version == 'current' && always()
34
with:
35
sarif_file: eslint.sarif
36
category: eslint
37
38
+ - name: Check for lint errors
39
+ if: steps.lint.outcome == 'failure'
40
+ run: |
41
+ echo "Please fix the linting issues above before committing."
42
+ exit 1
43
+
44
- name: Update version of @types/node
45
if: matrix.node-types-version != 'current'
46
env:
0 commit comments