mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-11 13:55:56 -06:00
Run all WebUI CI checks regardless of failure
This fixes an annoyance I've hit with the WebUI CI checks. If the linter fails, the GH Action immediately exits before the formatter has run. This can mean fixing the lint error and pushing up a change, only for the GH Action to then fail due to the formatter check. This PR makes it so that all checks always run, with the job still failing if any of the checks failed. It should allow for a quicker feedback loop. For an example, see #23199 GitHub Action docs: https://docs.github.com/en/actions/reference/workflows-and-actions/contexts#steps-context PR #23198.
This commit is contained in:
parent
7ddbf58a3b
commit
df9e2bb155
4
.github/workflows/ci_webui.yaml
vendored
4
.github/workflows/ci_webui.yaml
vendored
@ -42,18 +42,22 @@ jobs:
|
|||||||
run: npm test
|
run: npm test
|
||||||
|
|
||||||
- name: Lint code
|
- name: Lint code
|
||||||
|
if: ${{ !cancelled() }}
|
||||||
run: npm run lint
|
run: npm run lint
|
||||||
|
|
||||||
- name: Format code
|
- name: Format code
|
||||||
|
if: ${{ !cancelled() }}
|
||||||
run: |
|
run: |
|
||||||
npm run format
|
npm run format
|
||||||
git diff --exit-code
|
git diff --exit-code
|
||||||
|
|
||||||
- name: Initialize CodeQL
|
- name: Initialize CodeQL
|
||||||
uses: github/codeql-action/init@v3
|
uses: github/codeql-action/init@v3
|
||||||
|
if: ${{ !cancelled() }}
|
||||||
with:
|
with:
|
||||||
config-file: .github/workflows/helper/codeql/js.yaml
|
config-file: .github/workflows/helper/codeql/js.yaml
|
||||||
languages: javascript
|
languages: javascript
|
||||||
|
|
||||||
- name: Run CodeQL analysis
|
- name: Run CodeQL analysis
|
||||||
|
if: ${{ !cancelled() }}
|
||||||
uses: github/codeql-action/analyze@v3
|
uses: github/codeql-action/analyze@v3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user