mirror of
https://github.com/grpc/grpc-node.git
synced 2025-12-08 18:23:54 +00:00
Test with newer Node versions
This commit is contained in:
parent
01db2bc620
commit
9e2b9d03b4
@ -28,8 +28,8 @@ SET JOBS=8
|
||||
|
||||
call nvm version
|
||||
|
||||
call nvm install 16
|
||||
call nvm use 16
|
||||
call nvm install 22
|
||||
call nvm use 22
|
||||
|
||||
git submodule update --init --recursive
|
||||
|
||||
@ -40,7 +40,7 @@ call npm install || goto :error
|
||||
SET JUNIT_REPORT_STACK=1
|
||||
SET FAILED=0
|
||||
|
||||
for %%v in (14 16) do (
|
||||
for %%v in (20 22) do (
|
||||
call nvm install %%v
|
||||
call nvm use %%v
|
||||
if "%%v"=="4" (
|
||||
|
||||
@ -28,11 +28,11 @@ cd $ROOT
|
||||
git submodule update --init --recursive
|
||||
|
||||
if [ ! -n "$node_versions" ] ; then
|
||||
node_versions="14 16"
|
||||
node_versions="20 22"
|
||||
fi
|
||||
|
||||
set +ex
|
||||
nvm install 8
|
||||
nvm install 22
|
||||
nvm install lts/*
|
||||
nvm use lts/*
|
||||
set -ex
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user