Skip to content

Commit dee3f98

Browse files
authored
Merge pull request #2210 from oasisprotocol/lw/update-deps
Update playwright and nodejs
2 parents 0580232 + c67ec29 commit dee3f98

12 files changed

Lines changed: 37 additions & 65 deletions

File tree

.changelog/2210.internal.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update dependencies

.github/workflows/ci-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,10 @@ jobs:
3131
with:
3232
distribution: 'temurin'
3333
java-version: '17'
34-
- name: Set up Node.js 18
34+
- name: Set up Node.js
3535
uses: actions/setup-node@v4
3636
with:
37-
node-version: '18.x'
37+
node-version: '24.x'
3838
cache: yarn
3939
- name: Install dependencies
4040
run: yarn install --frozen-lockfile

.github/workflows/ci-lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535
uses: actions/setup-python@v4
3636
with:
3737
python-version: '3.x'
38-
- name: Set up Node.js 18
38+
- name: Set up Node.js
3939
uses: actions/setup-node@v4
4040
with:
41-
node-version: '18.x'
41+
node-version: '24.x'
4242
cache: yarn
4343
- name: Install dependencies
4444
run: yarn install --frozen-lockfile

.github/workflows/ci-test.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
steps:
2525
- name: Checkout code
2626
uses: actions/checkout@v4
27-
- name: Set up Node.js 18
27+
- name: Set up Node.js
2828
uses: actions/setup-node@v4
2929
id: yarn-cache
3030
with:
31-
node-version: 18
31+
node-version: '24.x'
3232
cache: yarn
3333
- if: steps.yarn-cache.outputs.cache-hit != 'true'
3434
run: yarn install --frozen-lockfile
@@ -41,10 +41,10 @@ jobs:
4141
steps:
4242
- name: Checkout code
4343
uses: actions/checkout@v4
44-
- name: Set up Node.js 18
44+
- name: Set up Node.js
4545
uses: actions/setup-node@v4
4646
with:
47-
node-version: '18.x'
47+
node-version: '24.x'
4848
cache: yarn
4949
- name: Install dependencies
5050
run: yarn install --frozen-lockfile
@@ -64,10 +64,10 @@ jobs:
6464
steps:
6565
- name: Checkout code
6666
uses: actions/checkout@v4
67-
- name: Set up Node.js 18
67+
- name: Set up Node.js
6868
uses: actions/setup-node@v4
6969
with:
70-
node-version: '18.x'
70+
node-version: '24.x'
7171
cache: yarn
7272
- name: Install dependencies
7373
run: yarn install --frozen-lockfile
@@ -88,7 +88,7 @@ jobs:
8888
needs: [playwright-prepare]
8989
runs-on: ubuntu-latest
9090
container:
91-
image: mcr.microsoft.com/playwright:v1.46.1-noble
91+
image: mcr.microsoft.com/playwright:v1.56.1-noble
9292
options: --user 1001
9393
strategy:
9494
fail-fast: false
@@ -98,10 +98,10 @@ jobs:
9898
steps:
9999
- name: Checkout code
100100
uses: actions/checkout@v4
101-
- name: Set up Node.js 18
101+
- name: Set up Node.js
102102
uses: actions/setup-node@v4
103103
with:
104-
node-version: '18.x'
104+
node-version: '24.x'
105105
cache: yarn
106106
- uses: actions/download-artifact@v4
107107
- run: mv ./builds-for-playwright/build ./build

.github/workflows/cloudflare-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ jobs:
4848
# Checkout pull request HEAD commit instead of merge commit.
4949
with:
5050
ref: ${{ github.event.pull_request.head.sha }}
51-
- name: Set up Node.js 18
51+
- name: Set up Node.js
5252
uses: actions/setup-node@v4
5353
with:
54-
node-version: '18.x'
54+
node-version: '24.x'
5555
cache: yarn
5656
- name: Install dependencies
5757
run: yarn install --frozen-lockfile

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
with:
3030
distribution: 'temurin'
3131
java-version: '17'
32-
- name: Set up Node.js 18
32+
- name: Set up Node.js
3333
uses: actions/setup-node@v4
3434
with:
35-
node-version: '18.x'
35+
node-version: '24.x'
3636
cache: yarn
3737
- name: Install dependencies
3838
run: yarn install --frozen-lockfile

.github/workflows/update-screenshots.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
19-
- name: Set up Node.js 18
19+
- name: Set up Node.js
2020
uses: actions/setup-node@v4
2121
with:
22-
node-version: '18.x'
22+
node-version: '24.x'
2323
cache: yarn
2424
- name: Install dependencies
2525
run: yarn install --frozen-lockfile

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ yarn test
123123
yarn start
124124
(cd playwright; yarn; npx playwright install --with-deps)
125125
(cd playwright; yarn test)
126-
# Or `yarn start:prod` and `yarn test:prod` to test production builds.
126+
# Or `yarn start:prod-test` and `yarn test:prod` to test production builds.
127127
# Or `xvfb-run yarn test` to prevent browser windows opening.
128128

129129
# Manually check that content-security-policy in getSecurityHeaders.js doesn't

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
"test": "jest --color",
1717
"test:watch": "yarn run test --watch",
1818
"start:prod": "yarn run build && node ./playwright/serve-prod.js",
19+
"start:prod-test": "REACT_APP_E2E_TEST=1 yarn build:ext && REACT_APP_E2E_TEST=1 yarn start:prod",
1920
"checkTs": "tsc --noEmit",
2021
"lint": "eslint --ext js,ts,tsx ./",
2122
"lint:fix": "yarn run lint --fix",

playwright/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"test:screenshots": "playwright test --project screenshots"
99
},
1010
"devDependencies": {
11-
"@playwright/test": "1.46.1",
11+
"@playwright/test": "1.56.1",
1212
"serve-handler": "6.1.6"
1313
}
1414
}

0 commit comments

Comments
 (0)