Skip to content

Commit

Permalink
Get the Playwright version from the package.json (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet authored Sep 8, 2024
1 parent a24b5e9 commit a8093ab
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .playwright_docker_version

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"stop:ha": "docker stop $(docker ps -a -q --filter ancestor=homeassistant/home-assistant:${TAG:-$(cat .hass/config/.HA_VERSION)}) || true",
"reset:ha": "git add .hass/config/.HA_VERSION && git checkout .hass/config",
"demo:ha": "pnpm test:clean && pnpm build && pnpm start:ha",
"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\"",
"prepare": "pnpm build",
"prepublishOnly": "pnpm lint && pnpm test:ts && pnpm test:ci",
"version": "git add .",
Expand Down

0 comments on commit a8093ab

Please sign in to comment.