Skip to content

Commit 97e2764

Browse files
authored
Use Node24 and es2024 (#711)
1 parent 4e26158 commit 97e2764

5 files changed

Lines changed: 28 additions & 27 deletions

File tree

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: actions/setup-node@v4
1818
with:
19-
node-version: 20
19+
node-version: 24
2020
cache: 'npm'
2121
- name: Build
2222
shell: bash -l {0}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ outputs:
129129
cache-hit-ammonite:
130130
description: 'A boolean value to indicate a match was found for the ammonite cache'
131131
runs:
132-
using: 'node20'
132+
using: 'node24'
133133
main: 'dist/restore/index.js'
134134
post: 'dist/save/index.js'
135135
post-if: 'success()'

package-lock.json

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@
2929
"@actions/glob": "^0.5.0"
3030
},
3131
"devDependencies": {
32-
"@types/node": "^22.14.1",
32+
"@types/node": "^24.3.0",
3333
"@typescript-eslint/eslint-plugin": "^7.0.0",
3434
"@typescript-eslint/parser": "^6.20.0",
3535
"@vercel/ncc": "^0.38.3",
3636
"eslint": "^8.57.0",
3737
"eslint-plugin-github": "^4.10.2",
3838
"js-yaml": "^4.1.0",
3939
"prettier": "^3.5.3",
40-
"typescript": "^5.4.4"
40+
"typescript": "^5.9.2"
4141
}
4242
}

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"compilerOptions": {
3-
"target": "es2022", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
3+
"target": "es2024", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
44
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
55
"outDir": "./lib", /* Redirect output structure to the directory. */
66
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */

0 commit comments

Comments
 (0)