Skip to content

Commit

Permalink
build(e2e): pin playwright in CI (#1150)
Browse files Browse the repository at this point in the history
* build(e2e): pin playwright in CI

* build: update playwright

* build: improve playwright installation

* downgrade to playwright 1.35.1
  • Loading branch information
dk1a authored Jul 12, 2023
1 parent 66cc35a commit 0dfe3fa
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ jobs:
run: pnpm install

- name: Install Playwright Dependencies
run: pnpx playwright install --with-deps chromium
working-directory: ./e2e
run: pnpm run playwright-install

- name: Clean end-to-end project
working-directory: ./e2e
Expand Down
4 changes: 4 additions & 0 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@
"scripts": {
"build": "pnpm recursive run build",
"clean": "pnpm recursive run clean",
"playwright-install": "pnpx [email protected] install --with-deps chromium",
"test": "pnpm recursive run test"
},
"devDependencies": {
"@playwright/test": "1.35.1"
},
"engines": {
"node": "18.x",
"pnpm": "8.x"
Expand Down
1 change: 0 additions & 1 deletion e2e/packages/sync-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"@latticexyz/schema-type": "link:../../../packages/schema-type",
"@latticexyz/store": "link:../../../packages/store",
"@latticexyz/utils": "link:../../../packages/utils",
"@playwright/test": "^1.35.0",
"chalk": "^5.2.0",
"dotenv": "^16.0.3",
"ethers": "^5.7.2",
Expand Down
19 changes: 10 additions & 9 deletions e2e/pnpm-lock.yaml

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

0 comments on commit 0dfe3fa

Please sign in to comment.