Tune makefile scripts (#10781)
* chore: replace node by `yarn node` * chore: fix tsc command * chore: use `yarn` to wrap node * chore: supress yarn run output * chore: disable silent mode for builtin yarn command
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
node="yarn --silent node"
|
||||
jestArgs="--coverage"
|
||||
|
||||
if [ -n "$CI" ]; then
|
||||
jestArgs="${jestArgs} --maxWorkers=4 --ci"
|
||||
fi
|
||||
|
||||
node_modules/.bin/jest $jestArgs
|
||||
$node node_modules/.bin/jest $jestArgs
|
||||
|
||||
Reference in New Issue
Block a user