mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
ci: Skip source_check stage when appropriate
We don't have to run the static analyzer on javascript sources when no javascript source was changed. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/408
This commit is contained in:
parent
d671eb1969
commit
f248b91f82
1 changed files with 3 additions and 0 deletions
|
|
@ -23,6 +23,9 @@ js_check:
|
|||
script:
|
||||
- find js -name '*.js' -exec js60 -c -s '{}' ';' 2>&1 | tee $JS_LOG
|
||||
- (! grep -q . $JS_LOG)
|
||||
only:
|
||||
changes:
|
||||
- js/**/*
|
||||
artifacts:
|
||||
paths:
|
||||
- ${JS_LOG}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue