Skip to content

Commit 1ef3c6e

Browse files
committed
chore: upgrade to Node 24 in CI workflows
1 parent 6d46630 commit 1ef3c6e

4 files changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
with:
2121
version: 9.x.x
2222

23-
- name: Install Node 18
23+
- name: Install Node 24
2424
uses: actions/setup-node@v4
2525
with:
26-
node-version: "18"
26+
node-version: "24"
2727
cache: pnpm
2828
cache-dependency-path: npm/pnpm-lock.yaml
2929

@@ -81,10 +81,10 @@ jobs:
8181
with:
8282
version: 9.x.x
8383

84-
- name: Install Node 18
84+
- name: Install Node 24
8585
uses: actions/setup-node@v4
8686
with:
87-
node-version: "18"
87+
node-version: "24"
8888
cache: pnpm
8989
cache-dependency-path: npm/pnpm-lock.yaml
9090

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
with:
2323
version: 9.x.x
2424

25-
- name: Install Node 18
25+
- name: Install Node 24
2626
uses: actions/setup-node@v4
2727
with:
28-
node-version: "18"
28+
node-version: "24"
2929
registry-url: https://registry.npmjs.org
3030
cache: pnpm
3131
cache-dependency-path: npm/pnpm-lock.yaml

npm/bundle.cjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ esbuild.build({
88
entryPoints: ['src/install.ts'],
99
bundle: true,
1010
platform: 'node',
11-
target: 'node14',
11+
target: 'node20',
1212
outfile: 'packages/cli/install.js',
1313
external: ['@depot/cli'],
1414
})
@@ -18,7 +18,7 @@ esbuild.build({
1818
entryPoints: ['src/main.ts'],
1919
bundle: true,
2020
platform: 'node',
21-
target: 'node14',
21+
target: 'node20',
2222
outfile: 'packages/cli/lib/main.js',
2323
external: ['@depot/cli'],
2424
define: {DEPOT_CLI_VERSION: JSON.stringify(DEPOT_CLI_VERSION)},
@@ -29,7 +29,7 @@ esbuild.build({
2929
entryPoints: ['src/shim.ts'],
3030
bundle: true,
3131
platform: 'node',
32-
target: 'node14',
32+
target: 'node20',
3333
outfile: 'packages/cli/bin/depot',
3434
external: ['@depot/cli'],
3535
define: {DEPOT_CLI_VERSION: JSON.stringify(DEPOT_CLI_VERSION)},

npm/packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"repository": "https://github.com/depot/cli",
66
"license": "MIT",
77
"engines": {
8-
"node": ">=14"
8+
"node": ">=18"
99
},
1010
"bin": {
1111
"depot": "bin/depot"

0 commit comments

Comments
 (0)