mirror of https://github.com/grpc/grpc-node.git
grpc-js: Test against actively maintained Node versions
This commit is contained in:
parent
3e0a037a7f
commit
955f088379
|
@ -28,8 +28,8 @@ SET JOBS=8
|
||||||
|
|
||||||
call nvm version
|
call nvm version
|
||||||
|
|
||||||
call nvm install 10
|
call nvm install 18
|
||||||
call nvm use 10
|
call nvm use 18
|
||||||
|
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ call npm install || goto :error
|
||||||
SET JUNIT_REPORT_STACK=1
|
SET JUNIT_REPORT_STACK=1
|
||||||
SET FAILED=0
|
SET FAILED=0
|
||||||
|
|
||||||
for %%v in (10 12) do (
|
for %%v in (14 16 18) do (
|
||||||
call nvm install %%v
|
call nvm install %%v
|
||||||
call nvm use %%v
|
call nvm use %%v
|
||||||
if "%%v"=="4" (
|
if "%%v"=="4" (
|
||||||
|
|
|
@ -28,7 +28,7 @@ cd $ROOT
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
if [ ! -n "$node_versions" ] ; then
|
if [ ! -n "$node_versions" ] ; then
|
||||||
node_versions="10 12 14 16"
|
node_versions="14 16 18"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set +ex
|
set +ex
|
||||||
|
|
Loading…
Reference in New Issue