Skip to content

Commit

Permalink
Get the Playwright version from the package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet committed Sep 9, 2024
1 parent 4925a05 commit bf639a7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2,818 deletions.
1 change: 0 additions & 1 deletion .playwright_docker_version

This file was deleted.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint:fix": "yarn lint --fix",
"test:ts": "tsc --noEmit",
"test:run": "dotenv playwright test",
"start:playwright": "docker run --rm --network host --add-host host.docker.internal:host-gateway -v $(pwd):$(pwd) -w $(pwd) -i mcr.microsoft.com/playwright:$(cat .playwright_docker_version) sh -c \"yarn test:run && exit\"",
"start:playwright": "docker run --rm --network host --add-host host.docker.internal:host-gateway -v $(pwd):$(pwd) -w $(pwd) -i mcr.microsoft.com/playwright:v$npm_package_devDependencies__playwright_test-jammy sh -c \"yarn test:run && exit\"",
"test:open": "playwright test --ui",
"test:update": "playwright test --update-snapshots",
"test:ci": "yarn demo && yarn start:playwright && yarn stop:ha",
Expand All @@ -27,13 +27,14 @@
"prepare": "yarn build",
"prepublishOnly": "yarn test:all",
"version": "git add .",
"kk": "echo $npm_package_devDependencies__playwright_test",
"postversion": "git push && git push --tags"
},
"dependencies": {
"home-assistant-query-selector": "^4.2.0"
},
"devDependencies": {
"@playwright/test": "^1.47.0",
"@playwright/test": "1.47.0",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
Expand Down
Loading

0 comments on commit bf639a7

Please sign in to comment.