Skip to content

Commit 9d4f0d2

Browse files
authored
Merge pull request #2879 from modernweb-dev/chore/bump-pipelines-ubuntu-to-latest-24-04
fix: bump pipelines Ubuntu 24.04 and update playwright
2 parents 696d1db + dbd6f47 commit 9d4f0d2

File tree

10 files changed

+43
-29
lines changed

10 files changed

+43
-29
lines changed

.changeset/tidy-hairs-hope.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@web/test-runner-playwright': patch
3+
---
4+
5+
bump playwright

.github/workflows/canary.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
# Prevents changesets action from creating a PR on forks
1313
if: github.repository == 'modernweb-dev/web'
1414
name: Pre-release
15-
runs-on: ubuntu-22.04
15+
runs-on: ubuntu-24.04
1616
steps:
1717
- name: Checkout Repo
1818
uses: actions/checkout@v4

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
linux:
1010
timeout-minutes: 30
1111
name: Linux
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313

1414
steps:
1515
- uses: actions/checkout@v4

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# Prevents changesets action from creating a PR on forks
1212
if: github.repository == 'modernweb-dev/web'
1313
name: Release
14-
runs-on: ubuntu-22.04
14+
runs-on: ubuntu-24.04
1515
steps:
1616
- name: Checkout Repo
1717
uses: actions/checkout@v4

.github/workflows/verify-browser.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,16 @@ jobs:
99
verify-linux:
1010
timeout-minutes: 30
1111
name: Linux
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313

1414
steps:
1515
- uses: actions/checkout@v4
1616

17+
# TODO: remove when GitHub fixes this https://github.com/actions/runner-images/issues/10015
18+
# (this workaround is practically the same what Playwright did in https://github.com/microsoft/playwright/pull/34238/files)
19+
- name: Workaround for Chrome sandbox issue in Ubuntu 24.04
20+
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
21+
1722
- name: Setup Node 20
1823
uses: actions/setup-node@v4
1924
env:

.github/workflows/verify-node.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
verify-linux:
1010
timeout-minutes: 30
1111
name: Linux
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-24.04
1313
strategy:
1414
fail-fast: false
1515
matrix:
@@ -22,6 +22,11 @@ jobs:
2222
steps:
2323
- uses: actions/checkout@v4
2424

25+
# TODO: remove when GitHub fixes this https://github.com/actions/runner-images/issues/10015
26+
# (this workaround is practically the same what Playwright did in https://github.com/microsoft/playwright/pull/34238/files)
27+
- name: Workaround for Chrome sandbox issue in Ubuntu 24.04
28+
run: sudo sysctl -w kernel.apparmor_restrict_unprivileged_userns=0
29+
2530
- name: Setup Node ${{ matrix.node-version }}
2631
uses: actions/setup-node@v4
2732
env:

.github/workflows/verify-storybook-builder.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
fail-fast: false
99
matrix:
10-
runs-on: [ubuntu-22.04, windows-2022]
10+
runs-on: [ubuntu-24.04, windows-2022]
1111
runs-on: ${{ matrix.runs-on }}
1212
name: ${{ matrix.runs-on }}
1313
timeout-minutes: 60

package-lock.json

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

packages/storybook-framework-web-components/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@web/storybook-builder": "^0.2.2"
6161
},
6262
"devDependencies": {
63-
"@playwright/test": "^1.22.2",
63+
"@playwright/test": "^1.53.0",
6464
"@storybook/addon-a11y": "^8.6.12",
6565
"@storybook/addon-essentials": "^8.6.12",
6666
"@storybook/addon-interactions": "^8.6.12",

packages/test-runner-playwright/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"dependencies": {
4949
"@web/test-runner-core": "^0.13.0",
5050
"@web/test-runner-coverage-v8": "^0.8.0",
51-
"playwright": "^1.22.2"
51+
"playwright": "^1.53.0"
5252
},
5353
"devDependencies": {
5454
"@web/test-runner-mocha": "^0.9.0",

0 commit comments

Comments
 (0)