Skip to content

Commit 0daf320

Browse files
authored
Merge branch 'main' into renovate/npm-run-all2-8.x
2 parents af3c5d9 + dc9c499 commit 0daf320

File tree

28 files changed

+79
-51
lines changed

28 files changed

+79
-51
lines changed

.github/workflows/e2e.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
jobs:
88
e2e:
99
runs-on: ubuntu-latest
10+
11+
strategy:
12+
fail-fast: false
13+
matrix:
14+
node-version: ['20.6.1', '24']
15+
1016
steps:
1117
- name: Checkout
1218
uses: actions/checkout@v4
@@ -18,10 +24,10 @@ jobs:
1824
private-key: ${{ secrets.TOKENS_PRIVATE_KEY }}
1925
app-id: ${{ secrets.TOKENS_APP_ID }}
2026

21-
- name: Node
27+
- name: Node ${{ matrix.node-version }}
2228
uses: actions/setup-node@v4
2329
with:
24-
node-version: '22'
30+
node-version: ${{ matrix.node-version }}
2531

2632
- run: corepack enable
2733
- name: Install Deno
@@ -42,6 +48,6 @@ jobs:
4248
- uses: actions/upload-artifact@v4
4349
if: always()
4450
with:
45-
name: blob-report
51+
name: blob-report-${{ matrix.node-version }}
4652
path: blob-report/
4753
retention-days: 30

.github/workflows/publint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Node.js
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: lts/*
25+
node-version: 24
2626
cache: 'pnpm'
2727
- name: Install Deno
2828
uses: denoland/setup-deno@v2

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
if: ${{ steps.release.outputs.releases_created }}
2525
- uses: actions/setup-node@v4
2626
with:
27-
check-latest: true
27+
node-version: 24
2828
registry-url: 'https://registry.npmjs.org'
2929
if: ${{ steps.release.outputs.releases_created }}
3030
- name: Install Deno

.github/workflows/test.yml

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
jobs:
13-
test:
13+
lint:
1414
runs-on: ubuntu-latest
1515

1616
steps:
1717
- uses: actions/checkout@v4
1818
- name: Installing Node.js
1919
uses: actions/setup-node@v4
2020
with:
21-
node-version: 18
22-
check-latest: true
21+
node-version: 24
2322
- run: corepack enable
2423
- name: Install Deno
2524
uses: denoland/setup-deno@v2
@@ -34,7 +33,30 @@ jobs:
3433
run: pnpm run format:check
3534
- name: Typecheck
3635
run: pnpm run typecheck
37-
if: always()
36+
37+
test:
38+
runs-on: ubuntu-latest
39+
40+
strategy:
41+
fail-fast: false
42+
matrix:
43+
node-version: ['20.6.1', '24']
44+
45+
steps:
46+
- uses: actions/checkout@v4
47+
- name: Installing Node.js ${{ matrix.node-version }}
48+
uses: actions/setup-node@v4
49+
with:
50+
node-version: ${{ matrix.node-version }}
51+
- run: corepack enable
52+
- name: Install Deno
53+
uses: denoland/setup-deno@v2
54+
with:
55+
# Should match the `DENO_VERSION_RANGE` from https://github.com/netlify/build/blob/8ff162649f76a9586dd7593198c0fa798dac3629/packages/edge-bundler/node/bridge.ts#L22
56+
deno-version: v2.4.2
57+
- name: Install
58+
run: pnpm install
59+
- name: Build
60+
run: pnpm run build:packages
3861
- name: Unit Tests
3962
run: pnpm run test:unit
40-
if: always()

demos/vite-edge/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@
3838
"vite-tsconfig-paths": "^5.1.4"
3939
},
4040
"engines": {
41-
"node": ">=18.0.0"
41+
"node": ">=20.6.1"
4242
}
4343
}

demos/vite-edge/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"include": ["env.d.ts", "**/*.ts", "**/*.tsx", "netlify-edge-plugin.ts"],
33
"compilerOptions": {
4-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
4+
"lib": ["DOM", "DOM.Iterable", "ES2023"],
55
"isolatedModules": true,
66
"esModuleInterop": true,
77
"jsx": "react-jsx",
88
"module": "ESNext",
99
"moduleResolution": "Bundler",
1010
"resolveJsonModule": true,
11-
"target": "ES2022",
11+
"target": "ES2023",
1212
"strict": true,
1313
"allowJs": true,
1414
"skipLibCheck": true,

demos/vite-functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@
3636
"vite-tsconfig-paths": "^5.1.4"
3737
},
3838
"engines": {
39-
"node": ">=18.0.0"
39+
"node": ">=20.6.1"
4040
}
4141
}

demos/vite-functions/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"include": ["env.d.ts", "**/*.ts", "**/*.tsx", "netlify-edge-plugin.ts"],
33
"compilerOptions": {
4-
"lib": ["DOM", "DOM.Iterable", "ES2022"],
4+
"lib": ["DOM", "DOM.Iterable", "ES2023"],
55
"isolatedModules": true,
66
"esModuleInterop": true,
77
"jsx": "react-jsx",
88
"module": "ESNext",
99
"moduleResolution": "Bundler",
1010
"resolveJsonModule": true,
11-
"target": "ES2022",
11+
"target": "ES2023",
1212
"strict": true,
1313
"allowJs": true,
1414
"skipLibCheck": true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"isbot": "^5.0.0"
6161
},
6262
"engines": {
63-
"node": ">=18"
63+
"node": ">=20.6.1"
6464
},
6565
"packageManager": "pnpm@8.15.9+sha256.daa27a0b541bc635323ff96c2ded995467ff9fe6d69ff67021558aa9ad9dcc36"
6666
}

packages/remix-adapter/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
],
4141
"scripts": {
4242
"prepack": "pnpm run build",
43-
"build": "tsup-node src/index.ts src/plugin.ts --format esm,cjs --dts --target node16 --clean",
43+
"build": "tsup-node src/index.ts src/plugin.ts --format esm,cjs --dts --target node20 --clean",
4444
"build:watch": "pnpm run build --watch",
4545
"publint": "publint --strict"
4646
},
@@ -77,7 +77,7 @@
7777
"vite": ">=5.0.0"
7878
},
7979
"engines": {
80-
"node": ">=18"
80+
"node": ">=20.6.1"
8181
},
8282
"publishConfig": {
8383
"access": "public"

0 commit comments

Comments
 (0)