Skip to content

Commit 409f68c

Browse files
committed
fix: bump playwright to 1.54.0 to use live cdn.playwright.dev
1 parent 21c82d1 commit 409f68c

3 files changed

Lines changed: 14 additions & 16 deletions

File tree

.github/workflows/tests.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,21 +58,19 @@ jobs:
5858
- name: install
5959
run: make install
6060

61-
- name: Get Playwright version
62-
id: playwright-version
63-
run: echo "version=$(npx playwright --version | awk '{print $2}')" >> "$GITHUB_OUTPUT"
64-
6561
- name: Cache Playwright browsers
6662
id: playwright-cache
6763
uses: actions/cache@v4
6864
with:
6965
path: ~/Library/Caches/ms-playwright
70-
key: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.version }}
66+
key: ${{ runner.os }}-playwright-${{ hashFiles('package-lock.json') }}
67+
restore-keys: |
68+
${{ runner.os }}-playwright-
7169
7270
- name: install Playwright browsers
7371
if: steps.playwright-cache.outputs.cache-hit != 'true'
74-
timeout-minutes: 5
75-
run: npx playwright install --with-deps chromium
72+
timeout-minutes: 10
73+
run: npx playwright install chromium
7674

7775
- name: download protoc
7876
uses: actions/download-artifact@v4

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"eslint-plugin-import": "2.31.0",
1515
"happy-dom": "14.12.3",
1616
"nano-staged": "0.8.0",
17-
"playwright": "1.45.0",
17+
"playwright": "1.60.0",
1818
"prettier": "3.5.3",
1919
"simple-git-hooks": "2.11.1",
2020
"syncpack": "13.0.4",

0 commit comments

Comments
 (0)