Skip to content

Commit

Permalink
fix(ci): add playwright to dependencies and get version from namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Mar 28, 2024
1 parent fab60f2 commit 752222f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install-cache-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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' || 'latest')' >> $GITHUB_ENV
run: echo 'PLAYWRIGHT_VERSION=$(cat package.json | jq -r '.dependencies.["@playwright/test"]' || 'latest')' >> $GITHUB_ENV

- uses: actions/cache@v4
if: ${{ inputs.BROWSER_BINARIES }}
Expand Down
1 change: 1 addition & 0 deletions _ci/backstop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"cors": "^2.8.5",
"http-server": "^14.1.1",
"patch-package": "^8.0.0",
"@playwright/test": "1.42.1",
"pm2": "^5.3.1",
"super-simple-web-server": "github:dgrebb/super-simple-web-server#0.0.2"
},
Expand Down
30 changes: 29 additions & 1 deletion _ci/backstop/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 752222f

Please sign in to comment.