From 19fc75544f9993c123d92f4263d13d576ded35e7 Mon Sep 17 00:00:00 2001 From: Yann Braga Date: Thu, 25 Jul 2024 18:33:43 +0200 Subject: [PATCH] downgrade to node 18 in PW images --- .circleci/config.yml | 45 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index a1ed6c1f4fa5..2627d9219830 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -385,6 +385,15 @@ jobs: clone_options: "--depth 1 --verbose" - attach_workspace: at: . + - run: + name: Downgrade to Node.js 18 + command: | + apt-get update + apt-get remove -y nodejs + apt-get install -y curl + curl -fsSL https://deb.nodesource.com/setup_18.x | bash - + apt-get install -y nodejs + node -v - run: name: Running Test Runner command: yarn task --task test-runner --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task test-runner) --no-link --start-from=never --junit @@ -405,6 +414,15 @@ jobs: clone_options: "--depth 1 --verbose" - attach_workspace: at: . + - run: + name: Downgrade to Node.js 18 + command: | + apt-get update + apt-get remove -y nodejs + apt-get install -y curl + curl -fsSL https://deb.nodesource.com/setup_18.x | bash - + apt-get install -y nodejs + node -v - run: name: Running Test Runner in Dev mode command: yarn task --task test-runner-dev --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task test-runner-dev) --no-link --start-from=never --junit @@ -444,6 +462,15 @@ jobs: clone_options: "--depth 1 --verbose" - attach_workspace: at: . + - run: + name: Downgrade to Node.js 18 + command: | + apt-get update + apt-get remove -y nodejs + apt-get install -y curl + curl -fsSL https://deb.nodesource.com/setup_18.x | bash - + apt-get install -y nodejs + node -v - run: name: Running E2E Tests command: yarn task --task e2e-tests --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task e2e-tests) --no-link --start-from=never --junit @@ -467,6 +494,15 @@ jobs: clone_options: "--depth 1 --verbose" - attach_workspace: at: . + - run: + name: Downgrade to Node.js 18 + command: | + apt-get update + apt-get remove -y nodejs + apt-get install -y curl + curl -fsSL https://deb.nodesource.com/setup_18.x | bash - + apt-get install -y nodejs + node -v - run: name: Running E2E Tests command: yarn task --task e2e-tests-dev --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task e2e-tests-dev) --no-link --start-from=never --junit @@ -490,6 +526,15 @@ jobs: clone_options: "--depth 1 --verbose" - attach_workspace: at: . + - run: + name: Downgrade to Node.js 18 + command: | + apt-get update + apt-get remove -y nodejs + apt-get install -y curl + curl -fsSL https://deb.nodesource.com/setup_18.x | bash - + apt-get install -y nodejs + node -v - run: name: Running Bench command: yarn task --task bench --template $(yarn get-template --cadence << pipeline.parameters.workflow >> --task bench) --no-link --start-from=never --junit