Migrate to ESM with esbuild and vitest (#243)
Some checks failed
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Integration test for setup-kubectl / Validate release and master branch (push) Has been cancelled
Run prettify / Prettier Check (push) Has been cancelled
Run unit tests. / build (push) Has been cancelled

* Migrate to ESM with esbuild, vitest and upgrade @actions/* to ESM-only versions

* fix: update lockfile for npm ci compatibility

---------

Co-authored-by: Suneha Bose <suneha.bose@gmail.com>
This commit is contained in:
David Gamero 2026-04-03 12:48:25 -05:00 committed by GitHub
parent 08845d9b5a
commit 5f8d8195ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 1530 additions and 7248 deletions

10
vitest.config.ts Normal file
View file

@ -0,0 +1,10 @@
import {defineConfig} from 'vitest/config'
export default defineConfig({
test: {
globals: true,
environment: 'node',
include: ['**/*.test.ts'],
clearMocks: true
}
})