support earlier Playwright versions
Version 1.7.0 is the first one where the version of Node in the Docker image supports top-level await.
This commit is contained in:
parent
ddc66bcc80
commit
d3325eccb4
2 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
cd "$(dirname "$(readlink --canonicalize "$0")")"
|
||||
docker run --rm --volume "$PWD":/app:ro mcr.microsoft.com/playwright:v$(node --eval='console.log(require("playwright-core/package.json").version)') node /app $1
|
||||
docker run --rm --volume "$PWD":/app:ro mcr.microsoft.com/playwright:v$(node --eval='console.log(require("./node_modules/playwright-core/package.json").version)') node /app $1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"type": "module",
|
||||
"dependencies": {
|
||||
"playwright-core": "^1.16.2"
|
||||
"playwright-core": "^1.7.0"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue