Skip to content

Commit f2097da

Browse files
committed
feat(e2e): update Node.js version requirement and add E2E workflow
1 parent 7beca37 commit f2097da

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

.github/workflows/e2e.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: E2E
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
e2e:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Check out repository
14+
uses: actions/checkout@v4
15+
16+
- name: Set up Node.js
17+
uses: actions/setup-node@v4
18+
with:
19+
node-version: 24
20+
cache: yarn
21+
22+
- name: Install dependencies
23+
run: yarn install --frozen-lockfile --network-timeout 300000
24+
25+
- name: Install Playwright browsers
26+
run: npx playwright install --with-deps chromium
27+
28+
- name: Run e2e tests
29+
env:
30+
TZ: Etc/UTC
31+
run: yarn test:e2e

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"browserslist": "last 2 Chrome versions",
88
"main": "",
99
"engines": {
10-
"node": ">=18.18.0"
10+
"node": ">=24.0.0"
1111
},
1212
"lint-staged": {
1313
"**/*": "prettier --write --ignore-unknown"

0 commit comments

Comments
 (0)