Use Node 24 (#329)

* Use Node 24

* fix: update package lock with node v24

---------

Co-authored-by: imranismail <hey@imranismail.dev>
This commit is contained in:
mattcontinisio
2026-03-17 07:51:59 -04:00
committed by GitHub
parent 049197ab4e
commit 53f941b41d
7 changed files with 847 additions and 295 deletions

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())