From 73ef47b39bcb8f14041e55804e505774fc97e636 Mon Sep 17 00:00:00 2001 From: Jonathan McPherson Date: Mon, 16 Sep 2024 11:08:32 -0700 Subject: [PATCH] update test suite for newer node/yarn --- .github/workflows/positron-full-test.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/positron-full-test.yml b/.github/workflows/positron-full-test.yml index 2d597522574..615de06d55e 100644 --- a/.github/workflows/positron-full-test.yml +++ b/.github/workflows/positron-full-test.yml @@ -101,8 +101,8 @@ jobs: ELECTRON_SKIP_BINARY_DOWNLOAD: 1 POSITRON_GITHUB_PAT: ${{ github.token }} run: | - # Install Yarn - npm install -g yarn + # Enable corepack (for yarn) + corepack enable # Install node-gyp; this is required by some packages, and yarn # sometimes fails to automatically install it. @@ -111,8 +111,8 @@ jobs: # Perform the main yarn command; this installs all Node packages and # dependencies yarn --immutable --network-timeout 120000 - yarn --cwd test/automation install install --frozen-lockfile - yarn --cwd test/smoke install install --frozen-lockfile + yarn --cwd test/automation add install --frozen-lockfile + yarn --cwd test/smoke add install --frozen-lockfile # Note cache-hit will be set to true only when cache hit occurs for the exact key match. # For a partial key match it will be set to false