diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f6834ed0..965d6ef5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 20 + node-version: 24 cache: npm - run: npm ci - run: npm run typecheck diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..a45fd52c --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +24 diff --git a/action.yml b/action.yml index 4146f35a..92deabb1 100644 --- a/action.yml +++ b/action.yml @@ -48,7 +48,7 @@ outputs: token: description: An installation access token for the GitHub App. runs: - using: node20 + using: node24 main: dist/main/index.js post: dist/post/index.js branding: diff --git a/package-lock.json b/package-lock.json index 2d1403bf..3a512b3d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -18,7 +18,7 @@ "devDependencies": { "@trivago/prettier-plugin-sort-imports": "^4.2.0", "@types/is-base64": "^1.1.1", - "@types/node": "^20.6.2", + "@types/node": "^24.0.0", "@vercel/ncc": "^0.38.0", "prettier": "^3.0.3", "prettier-plugin-packagejson": "^2.4.5", @@ -701,9 +701,13 @@ } }, "node_modules/@types/node": { - "version": "20.6.2", - "resolved": "https://registry.npmjs.org/@types/node/-/node-20.6.2.tgz", - "integrity": "sha512-Y+/1vGBHV/cYk6OI1Na/LHzwnlNCAfU3ZNGrc1LdRe/LAIbdDPTTv/HU3M7yXN448aTVDq3eKRm2cg7iKLb8gw==" + "version": "24.12.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.4.tgz", + "integrity": "sha512-GUUEShf+PBCGW2KaXwcIt3Yk+e3pkKwWKb9GSyM9WQVE+ep2jzmHdGsHzu4wgcZy5fN9FBdVzjpBQsYlpfpgLA==", + "license": "MIT", + "dependencies": { + "undici-types": "~7.16.0" + } }, "node_modules/@vercel/ncc": { "version": "0.38.0", @@ -1939,6 +1943,12 @@ "node": ">=14.17" } }, + "node_modules/undici-types": { + "version": "7.16.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", + "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==", + "license": "MIT" + }, "node_modules/universal-github-app-jwt": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/universal-github-app-jwt/-/universal-github-app-jwt-1.1.1.tgz", diff --git a/package.json b/package.json index f05683a2..8434923b 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "devDependencies": { "@trivago/prettier-plugin-sort-imports": "^4.2.0", "@types/is-base64": "^1.1.1", - "@types/node": "^20.6.2", + "@types/node": "^24.0.0", "@vercel/ncc": "^0.38.0", "prettier": "^3.0.3", "prettier-plugin-packagejson": "^2.4.5",