aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-10-25 23:41:13 +0200
committerGravatar GitHub <noreply@github.com> 2021-10-25 23:41:13 +0200
commit9e9a6c3838f13d04c5ca126c4379978fe8f2fa95 (patch)
tree916ab664b35118f87c65de07644374034de23ac7
parentf3bfe17a39eb797c7e0219606061001535258ea4 (diff)
GitHub Actions cleaner error output (#3938)
Silence irrelevant NPM errors when a test fails. See e.g. https://github.com/FreshRSS/FreshRSS/runs/3999501244?check_suite_focus=true ```text npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! freshrss@ markdownlint: `markdownlint '**/*.md'` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the freshrss@ markdownlint script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /home/runner/.npm/_logs/2021-10-25T16_15_34_166Z-debug.log ```
-rw-r--r--.github/workflows/tests.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 25295ebd1..9b5e9d03c 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -58,16 +58,16 @@ jobs:
- run: npm install
- name: Check JavaScript syntax
- run: npm run eslint
+ run: npm run --silent eslint
- name: Check Markdown syntax
- run: npm run markdownlint
+ run: npm run --silent markdownlint
- name: Check Right-to-left CSS
- run: npm run rtlcss && git diff --exit-code
+ run: npm run --silent rtlcss && git diff --exit-code
- name: Check CSS syntax
- run: npm run stylelint
+ run: npm run --silent stylelint
# Shell tests