Skip to content

Commit 24a806f

Browse files
committed
chore(github workflows): ci and e2e tests: try updating to node 20
1 parent d1d2b6b commit 24a806f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- run: corepack enable
1616
- uses: actions/setup-node@v3
1717
with:
18-
node-version: 16
18+
node-version: 20
1919
cache: 'pnpm'
2020

2121
- name: Install dependencies

.github/workflows/e2e-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
- uses: actions/setup-node@v3
2020
with:
21-
node-version: 16
21+
node-version: 20
2222
cache: 'pnpm'
2323

2424
- name: Get Playwright version

playwright.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const useWebServer = process.env.NO_WEB_SERVER !== 'true';
99
*/
1010
export default defineConfig({
1111
testDir: './src',
12-
testMatch: /.*\.e2e\.(spec\.)?ts/,
12+
testMatch: /\.e2e\.(spec\.)?ts$/,
1313
/* Run tests in files in parallel */
1414
fullyParallel: true,
1515
/* Fail the build on CI if you accidentally left test.only in the source code. */
@@ -57,7 +57,7 @@ export default defineConfig({
5757
&& {
5858
webServer: {
5959
command: 'npm run preview',
60-
url: 'http://127.0.0.1:5050',
60+
url: 'http://localhost:5050',
6161
reuseExistingServer: !isCI,
6262
},
6363
}

0 commit comments

Comments
 (0)