mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 11:50:56 +00:00
svelte-check
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
d422f6b4fd
commit
c0b9c1d2f0
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@ -36,8 +36,9 @@ jobs:
|
||||
- name: Installing...
|
||||
run: node common/scripts/install-run-rush.js install
|
||||
|
||||
- name: Checking svelte sources...
|
||||
run: common/scripts/each.sh svelte-check
|
||||
|
||||
- name: Building...
|
||||
run: node common/scripts/install-run-rush.js rebuild --verbose
|
||||
|
||||
- name: Checking svelte sources...
|
||||
run: common/scripts/each.sh svelte-check
|
||||
|
@ -24,13 +24,13 @@ roots=$(node $sourceDir/install-run-rush.js list -f --json | grep "fullPath" | c
|
||||
for i in $roots
|
||||
do
|
||||
pushd ${i}
|
||||
|
||||
if [ $(node ${runscript} | grep $1: | wc -l) > 0 ]; then
|
||||
node ${runScript} $@
|
||||
|
||||
retVal=$?
|
||||
if [ $retVal -ne 0 ]; then
|
||||
echo "Error"
|
||||
exit $retVal
|
||||
fi
|
||||
fi
|
||||
popd
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user