You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
580 B
27 lines
580 B
![]()
4 years ago
|
---
|
||
|
source: tests/e2e.rs
|
||
|
expression: "&source.trim()"
|
||
|
---
|
||
|
FOR /f "tokens=*" %i IN ('fnm env') DO CALL %i
|
||
|
echo v8.10.0 > .nvmrc
|
||
|
fnm install
|
||
|
fnm install v6.10.0
|
||
|
fnm install v10.10.0
|
||
|
fnm exec -- node -v | findstr v8.10.0
|
||
|
if %errorlevel% neq 0 (
|
||
|
echo version file exec does not match "v8.10.0"
|
||
|
exit 1
|
||
|
)
|
||
|
|
||
|
fnm exec --using=6 -- node -v | findstr v6.10.0
|
||
|
if %errorlevel% neq 0 (
|
||
|
echo exec:6 node -v does not match "v6.10.0"
|
||
|
exit 1
|
||
|
)
|
||
|
|
||
|
fnm exec --using=10 -- node -v | findstr v10.10.0
|
||
|
if %errorlevel% neq 0 (
|
||
|
echo exec:6 node -v does not match "v10.10.0"
|
||
|
exit 1
|
||
|
)
|