Skip to content

Commit 54ae8ba

Browse files
committed
Simplify PR check by reverting changes to @types/node.
1 parent d899b2e commit 54ae8ba

16 files changed

+37
-77
lines changed

.github/workflows/pr-checks.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,7 @@ jobs:
5252
npm config set script-shell bash
5353
npm ci
5454
55-
- name: Verify compiled JS up to date (Node.js 20)
56-
if: matrix.node-version == 20
57-
run: .github/workflows/script/check-js-20.sh
58-
59-
- name: Verify compiled JS up to date (Node.js 24)
60-
if: matrix.node-version == 24
55+
- name: Verify compiled JS up to date
6156
run: .github/workflows/script/check-js.sh
6257

6358
- name: Verify PR checks up to date

.github/workflows/script/check-js-20.sh

Lines changed: 0 additions & 37 deletions
This file was deleted.

build.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const OUT_DIR = join(__dirname, "lib");
1313

1414
/**
1515
* Clean the output directory before building.
16-
*
16+
*
1717
* @type {esbuild.Plugin}
1818
*/
1919
const cleanPlugin = {
@@ -27,7 +27,7 @@ const cleanPlugin = {
2727

2828
/**
2929
* Copy defaults.json to the output directory since other projects depend on it.
30-
*
30+
*
3131
* @type {esbuild.Plugin}
3232
*/
3333
const copyDefaultsPlugin = {
@@ -68,7 +68,7 @@ const context = await esbuild.context({
6868
outdir: OUT_DIR,
6969
platform: "node",
7070
plugins: [cleanPlugin, copyDefaultsPlugin, onEndPlugin],
71-
target: ["node24"],
71+
target: ["node20"],
7272
});
7373

7474
await context.rebuild();

lib/analyze-action-post.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/autobuild-action.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action-post.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/init-action.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/resolve-environment-action.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/start-proxy-action-post.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)