From f64edcbf3db74b4bd9279a90358b187e6017be3a Mon Sep 17 00:00:00 2001 From: Dan Grebb Date: Mon, 8 Apr 2024 12:38:16 -0400 Subject: [PATCH] fix(backstop): add playwright itself as a depndency --- .github/actions/install-cache-deps/action.yml | 2 +- _ci/backstop/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/install-cache-deps/action.yml b/.github/actions/install-cache-deps/action.yml index 0ce97fcd..5a9e2af0 100644 --- a/.github/actions/install-cache-deps/action.yml +++ b/.github/actions/install-cache-deps/action.yml @@ -54,7 +54,7 @@ runs: shell: bash working-directory: ${{ inputs.WORKSPACE_ROOT }} id: playwright-version - run: echo "PLAYWRIGHT_VERSION=$(cat package.json | jq -r '.dependencies."@playwright/test"' || 'latest')" >> $GITHUB_ENV + run: echo "PLAYWRIGHT_VERSION=$(cat package.json | jq -r '.dependencies.playwright' || 'latest')" >> $GITHUB_ENV - uses: actions/cache@v4 if: ${{ inputs.BROWSER_BINARIES }} diff --git a/_ci/backstop/package.json b/_ci/backstop/package.json index 0c5dfa35..a6f198ef 100644 --- a/_ci/backstop/package.json +++ b/_ci/backstop/package.json @@ -29,6 +29,7 @@ "http-server": "^14.1.1", "patch-package": "^8.0.0", "@playwright/test": "1.42.1", + "playwright": "^1.42.1", "pm2": "^5.3.1", "super-simple-web-server": "github:dgrebb/super-simple-web-server#0.0.2" },