chore(ci): tell nvm to use node version 20 in wasm parallel tests

This commit is contained in:
tmontaigu
2023-10-18 16:41:51 +02:00
parent 4535230874
commit e44c38a102
2 changed files with 3 additions and 2 deletions

View File

@@ -493,7 +493,8 @@ test_web_js_api_parallel: build_web_js_api_parallel
.PHONY: ci_test_web_js_api_parallel # Run tests for the web wasm api
ci_test_web_js_api_parallel: build_web_js_api_parallel
source ~/.nvm/nvm.sh && \
nvm use node && \
nvm install 20 && \
nvm use 20 && \
$(MAKE) -C tfhe/web_wasm_parallel_tests test-ci
.PHONY: no_tfhe_typo # Check we did not invert the h and f in tfhe

View File

@@ -34,6 +34,6 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > install-rustup.s
chmod +x install-node.sh && \
./install-node.sh && \
. "$HOME/.nvm/nvm.sh" && \
bash -i -c 'nvm install node && nvm use node'
bash -i -c 'nvm install 20 && nvm use 20'
WORKDIR /tfhe-wasm-tests/tfhe-rs/