From 13726547d1a7ce24c1f2381782913ae081a8016a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Szabo?= Date: Wed, 5 Apr 2023 09:59:21 -0300 Subject: [PATCH] Three tries with newer Node on windows --- .cirrus.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 5048dc200..0507fe4db 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -209,14 +209,17 @@ windows_task: CIRRUS_SHELL: bash PATH: C:\Python310\Scripts\;C:\Python310\;%PATH%;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Users\User\AppData\Local\Microsoft\WindowsApps;C:\Users\User\AppData\Roaming\npm;C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\ prepare_script: - - choco install nodejs --version=14.15.0 -y + - choco install nodejs --version=16.16.0 -y - choco install python --version=3.10.3 -y - choco install git visualstudio2019-workload-vctools -y - git submodule init - git submodule update - npm config set python 'C:\Python310\python.exe' install_script: - - npx yarn install --ignore-engines || sleep 1 && npx yarn install --ignore-engines || echo "There is a reason for so many tries" + - npx yarn install --ignore-engines + || rm -R node_modules && npx yarn install --ignore-engines + || rm -R node_modules && npx yarn install --ignore-engines + || echo "There is a reason for so many tries" build_script: - npx yarn build:apm - npx yarn build || npx yarn build || npx yarn build