Skip to content

Commit

Permalink
Match the Playwright Docker image version
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilkybarkid committed Jul 12, 2023
1 parent db397a9 commit 3a6a210
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/fix-playwright-versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,9 @@ echo "Found @playwright/test $version"
echo "Updating all copies of playwright-core"
npm install playwright@"$version" playwright-core@"$version" --save-dev --save-exact --ignore-scripts
npm uninstall playwright playwright-core --save-dev

echo "Updating Dockerfile"
sed --in-place --regexp-extended "s/mcr\.microsoft\.com\/playwright:v.+?-jammy/mcr.microsoft.com\/playwright:v$version-jammy/g" Dockerfile

echo "Updating CI"
sed --in-place --regexp-extended "s/mcr\.microsoft\.com\/playwright:v.+?-jammy/mcr.microsoft.com\/playwright:v$version-jammy/g" .github/workflows/ci.yml

0 comments on commit 3a6a210

Please sign in to comment.