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...
|
- name: Installing...
|
||||||
run: node common/scripts/install-run-rush.js install
|
run: node common/scripts/install-run-rush.js install
|
||||||
|
|
||||||
|
- name: Checking svelte sources...
|
||||||
|
run: common/scripts/each.sh svelte-check
|
||||||
|
|
||||||
- name: Building...
|
- name: Building...
|
||||||
run: node common/scripts/install-run-rush.js rebuild --verbose
|
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
|
for i in $roots
|
||||||
do
|
do
|
||||||
pushd ${i}
|
pushd ${i}
|
||||||
|
if [ $(node ${runscript} | grep $1: | wc -l) > 0 ]; then
|
||||||
node ${runScript} $@
|
node ${runScript} $@
|
||||||
|
retVal=$?
|
||||||
retVal=$?
|
if [ $retVal -ne 0 ]; then
|
||||||
if [ $retVal -ne 0 ]; then
|
echo "Error"
|
||||||
echo "Error"
|
exit $retVal
|
||||||
exit $retVal
|
fi
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user