Skip to content

Commit a068da1

Browse files
committed
Use Node.js 22 as base binary
nodejs/single-executable#107 (comment)
1 parent 74f0385 commit a068da1

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
- run: yarn install --immutable
194194
- run: yarn build
195195
- name: Create standalone binary
196-
run: yarn dist-standalone -t node18-linux-x64 -o datadog-ci_linux-x64
196+
run: yarn dist-standalone -t node22-linux-x64 -o datadog-ci_linux-x64
197197
- name: Remove src and dist folders to check that binary can stand alone
198198
run: yarn rimraf --glob 'packages/*/{src,dist}'
199199
- name: Test generated standalone binary
@@ -215,7 +215,7 @@ jobs:
215215
- run: yarn install --immutable
216216
- run: yarn build
217217
- name: Create standalone binary
218-
run: yarn dist-standalone -t node18-linux-arm64 -o datadog-ci_linux-arm64
218+
run: yarn dist-standalone -t node22-linux-arm64 -o datadog-ci_linux-arm64
219219
- name: Remove src and dist folders to check that binary can stand alone
220220
run: yarn rimraf --glob 'packages/*/{src,dist}'
221221
- name: Test generated standalone binary
@@ -233,7 +233,7 @@ jobs:
233233
- run: yarn install --immutable
234234
- run: yarn build
235235
- name: Create standalone binary
236-
run: yarn dist-standalone -t node18-win-x64 -o datadog-ci_win-x64
236+
run: yarn dist-standalone -t node22-win-x64 -o datadog-ci_win-x64
237237
- name: Remove src and dist folders to check that binary can stand alone
238238
run: yarn rimraf --glob 'packages/*/{src,dist}'
239239
- name: Test generated standalone binary
@@ -253,7 +253,7 @@ jobs:
253253
- run: yarn install --immutable
254254
- run: yarn build
255255
- name: Create standalone binary
256-
run: yarn dist-standalone -t node18-macos-x64 -o datadog-ci_darwin-x64
256+
run: yarn dist-standalone -t node22-macos-x64 -o datadog-ci_darwin-x64
257257
- name: Remove src and dist folders to check that binary can stand alone
258258
run: yarn rimraf --glob 'packages/*/{src,dist}'
259259
- name: Test generated standalone binary
@@ -271,7 +271,7 @@ jobs:
271271
- run: yarn install --immutable
272272
- run: yarn build
273273
- name: Create standalone binary
274-
run: yarn dist-standalone -t node18-macos-arm64 -o datadog-ci_darwin-arm64
274+
run: yarn dist-standalone -t node22-macos-arm64 -o datadog-ci_darwin-arm64
275275
- name: Remove src and dist folders to check that binary can stand alone
276276
run: yarn rimraf --glob 'packages/*/{src,dist}'
277277
- name: Test generated standalone binary

‎.github/workflows/publish-release.yml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
- name: Bundle library
5757
run: yarn build
5858
- name: Create standalone binary
59-
run: yarn dist-standalone -t node18-linux-x64 -o datadog-ci_linux-x64
59+
run: yarn dist-standalone -t node22-linux-x64 -o datadog-ci_linux-x64
6060
- name: Remove src and dist folders to check that binary can stand alone
6161
run: yarn rimraf --glob 'packages/*/{src,dist}'
6262
- name: Test generated standalone binary
@@ -94,7 +94,7 @@ jobs:
9494
- name: Bundle library
9595
run: yarn build
9696
- name: Create standalone binary
97-
run: yarn dist-standalone -t node18-linux-arm64 -o datadog-ci_linux-arm64
97+
run: yarn dist-standalone -t node22-linux-arm64 -o datadog-ci_linux-arm64
9898
- name: Remove src and dist folders to check that binary can stand alone
9999
run: yarn rimraf --glob 'packages/*/{src,dist}'
100100
- name: Test generated standalone binary
@@ -128,7 +128,7 @@ jobs:
128128
- name: Bundle library
129129
run: yarn build
130130
- name: Create standalone binary
131-
run: yarn dist-standalone -t node18-win-x64 -o datadog-ci_win-x64
131+
run: yarn dist-standalone -t node22-win-x64 -o datadog-ci_win-x64
132132
- name: Remove src and dist folders to check that binary can stand alone
133133
run: yarn rimraf --glob 'packages/*/{src,dist}'
134134
- name: Test generated standalone binary
@@ -164,7 +164,7 @@ jobs:
164164
- name: Bundle library
165165
run: yarn build
166166
- name: Create standalone binary
167-
run: yarn dist-standalone -t node18-macos-x64 -o datadog-ci_darwin-x64
167+
run: yarn dist-standalone -t node22-macos-x64 -o datadog-ci_darwin-x64
168168
- name: Remove src and dist folders to check that binary can stand alone
169169
run: yarn rimraf --glob 'packages/*/{src,dist}'
170170
- name: Test generated standalone binary
@@ -198,7 +198,7 @@ jobs:
198198
- name: Bundle library
199199
run: yarn build
200200
- name: Create standalone binary
201-
run: yarn dist-standalone -t node18-macos-arm64 -o datadog-ci_darwin-arm64
201+
run: yarn dist-standalone -t node22-macos-arm64 -o datadog-ci_darwin-arm64
202202
- name: Remove src and dist folders to check that binary can stand alone
203203
run: yarn rimraf --glob 'packages/*/{src,dist}'
204204
- name: Test generated standalone binary

0 commit comments

Comments
 (0)