From ce517f2d670706f163d1c4fdd4caf69393f4f685 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20D=C4=9Bdi=C4=8D?= Date: Sun, 22 Oct 2023 00:11:36 +0200 Subject: [PATCH] Installing NPM dependencies before listing playwright version --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ee4cd6c0..5e912e2e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -138,6 +138,10 @@ jobs: npm-dependencies-${{ runner.os }}-${{ env.cache-version }}- npm-dependencies-${{ runner.os }}- + - name: "Install NPM dependencies" + run: | + npm ci + - name: Get installed Playwright version id: playwright-version run: | @@ -151,10 +155,6 @@ jobs: path: "~/.cache/ms-playwright" key: playwright-binaries-${{ runner.os }}-${{ env.cache-version }}-${{ steps.playwright-version.outputs.version }} - - name: "Install NPM dependencies" - run: | - npm ci - - name: "Install playwright binaries" if: steps.playwright-cache.outputs.cache-hit != 'true' run: |