Compare commits

..

1 Commits

Author SHA1 Message Date
mattcontinisio
53f941b41d Use Node 24 (#329)
* Use Node 24

* fix: update package lock with node v24

---------

Co-authored-by: imranismail <hey@imranismail.dev>
2026-03-18 00:51:59 +13:00
7 changed files with 853 additions and 305 deletions

View File

@@ -1 +1 @@
nodejs 20.8.1
nodejs 24.14.0

View File

@@ -35,6 +35,22 @@ describe('installer tests', () => {
}
})
it('Acquires kustomize version 5.8.1', async () => {
await installer.getKustomize('5.8.1')
const kustomizeDir = path.join(toolDir, 'kustomize', '5.8.1', os.arch())
expect(fs.existsSync(`${kustomizeDir}.complete`)).toBe(true)
if (IS_WINDOWS) {
expect(fs.existsSync(path.join(kustomizeDir, 'kustomize.exe'))).toBe(true)
} else {
expect(fs.existsSync(path.join(kustomizeDir, 'kustomize'))).toBe(true)
expect(() =>
fs.accessSync(path.join(kustomizeDir, 'kustomize'), fs.constants.X_OK)
).not.toThrow()
}
})
it('Acquires kustomize version 5.2.1', async () => {
await installer.getKustomize('5.2.1')
const kustomizeDir = path.join(toolDir, 'kustomize', '5.2.1', os.arch())

View File

@@ -18,5 +18,5 @@ inputs:
required: false
default: 'true'
runs:
using: 'node20'
using: 'node24'
main: 'dist/index.js'

1098
dist/index.js vendored

File diff suppressed because it is too large Load Diff

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

34
package-lock.json generated
View File

@@ -18,7 +18,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.6",
"@types/node": "^20.8.8",
"@types/node": "^24.12.0",
"@types/semver": "^7.5.8",
"@typescript-eslint/parser": "^6.9.0",
"@vercel/ncc": "^0.38.1",
@@ -29,7 +29,7 @@
"jest-circus": "^29.7.0",
"js-yaml": "^4.1.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.3",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
}
},
@@ -1636,12 +1636,13 @@
"dev": true
},
"node_modules/@types/node": {
"version": "20.8.8",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.8.8.tgz",
"integrity": "sha512-YRsdVxq6OaLfmR9Hy816IMp33xOBjfyOgUd77ehqg96CFywxAPbDbXvAsuN2KVg2HOT8Eh6uAfU+l4WffwPVrQ==",
"version": "24.12.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-24.12.0.tgz",
"integrity": "sha512-GYDxsZi3ChgmckRT9HPU0WEhKLP08ev/Yfcq2AstjrDASOYCSXeyjDsHg4v5t4jOj7cyDX3vmprafKlWIG9MXQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"undici-types": "~5.25.1"
"undici-types": "~7.16.0"
}
},
"node_modules/@types/semver": {
@@ -6687,9 +6688,9 @@
}
},
"node_modules/ts-jest": {
"version": "29.1.3",
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.3.tgz",
"integrity": "sha512-6L9qz3ginTd1NKhOxmkP0qU3FyKjj5CPoY+anszfVn6Pmv/RIKzhiMCsH7Yb7UvJR9I2A64rm4zQl531s2F1iw==",
"version": "29.1.1",
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.1.1.tgz",
"integrity": "sha512-D6xjnnbP17cC85nliwGiL+tpoKN0StpgE0TeOjXQTU6MVCfsB4v7aW05CgQ/1OywGb0x/oy9hHFnN+sczTiRaA==",
"dev": true,
"dependencies": {
"bs-logger": "0.x",
@@ -6705,11 +6706,10 @@
"ts-jest": "cli.js"
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0"
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
},
"peerDependencies": {
"@babel/core": ">=7.0.0-beta.0 <8",
"@jest/transform": "^29.0.0",
"@jest/types": "^29.0.0",
"babel-jest": "^29.0.0",
"jest": "^29.0.0",
@@ -6719,9 +6719,6 @@
"@babel/core": {
"optional": true
},
"@jest/transform": {
"optional": true
},
"@jest/types": {
"optional": true
},
@@ -6939,10 +6936,11 @@
}
},
"node_modules/undici-types": {
"version": "5.25.3",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-5.25.3.tgz",
"integrity": "sha512-Ga1jfYwRn7+cP9v8auvEXN1rX3sWqlayd4HP7OKk4mZWylEmu3KzXDUGrQUN6Ol7qo1gPvB2e5gX6udnyEPgdA==",
"dev": true
"version": "7.16.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
"integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
"dev": true,
"license": "MIT"
},
"node_modules/universal-user-agent": {
"version": "6.0.0",

View File

@@ -34,7 +34,7 @@
},
"devDependencies": {
"@types/jest": "^29.5.6",
"@types/node": "^20.8.8",
"@types/node": "^24.12.0",
"@types/semver": "^7.5.8",
"@typescript-eslint/parser": "^6.9.0",
"@vercel/ncc": "^0.38.1",
@@ -45,7 +45,7 @@
"jest-circus": "^29.7.0",
"js-yaml": "^4.1.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.3",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
}
}