Skip to content

Commit 53f941b

Browse files
Use Node 24 (#329)
* Use Node 24 * fix: update package lock with node v24 --------- Co-authored-by: imranismail <hey@imranismail.dev>
1 parent 049197a commit 53f941b

File tree

7 files changed

+847
-295
lines changed

7 files changed

+847
-295
lines changed

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 20.8.1
1+
nodejs 24.14.0

__tests__/main.test.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,22 @@ describe('installer tests', () => {
3535
}
3636
})
3737

38+
it('Acquires kustomize version 5.8.1', async () => {
39+
await installer.getKustomize('5.8.1')
40+
const kustomizeDir = path.join(toolDir, 'kustomize', '5.8.1', os.arch())
41+
42+
expect(fs.existsSync(`${kustomizeDir}.complete`)).toBe(true)
43+
44+
if (IS_WINDOWS) {
45+
expect(fs.existsSync(path.join(kustomizeDir, 'kustomize.exe'))).toBe(true)
46+
} else {
47+
expect(fs.existsSync(path.join(kustomizeDir, 'kustomize'))).toBe(true)
48+
expect(() =>
49+
fs.accessSync(path.join(kustomizeDir, 'kustomize'), fs.constants.X_OK)
50+
).not.toThrow()
51+
}
52+
})
53+
3854
it('Acquires kustomize version 5.2.1', async () => {
3955
await installer.getKustomize('5.2.1')
4056
const kustomizeDir = path.join(toolDir, 'kustomize', '5.2.1', os.arch())

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ inputs:
1818
required: false
1919
default: 'true'
2020
runs:
21-
using: 'node20'
21+
using: 'node24'
2222
main: 'dist/index.js'

0 commit comments

Comments
 (0)