7 Commits

Author SHA1 Message Date
Suneha Bose
1f527c033f
Migrate to ESM with esbuild, vitest (#227)
* Migrate to ESM, esbuild, vitest, and update actions/* to latest

- Update @actions/core to 3.x, @actions/exec to 3.x, @actions/io to 3.x
- Replace @vercel/ncc + babel with esbuild (build.mjs) targeting Node 20 ESM
- Replace jest/babel-jest/ts-jest with vitest and @vitest/coverage-v8
- Update tsconfig to NodeNext module resolution with strict mode
- Add explicit .js extensions to all relative imports (NodeNext requirement)
- Fix implicit any index signatures in parseCluster and parseMethod
- Migrate all test files from jest to vi.mock/vi.mocked APIs
- Fix ESM module spying limitations using vi.mock() at module level
- Fix env var test pollution in default.test.ts with afterEach cleanup

* remove build.mjs and update build script

* update pkg lock

* update pkg lock
2026-03-26 17:25:46 -04:00
Tatsinnit
959bbfb69a
Fix for client-node ESM v Commonjs issue. (#132)
Signed-off-by: Tatsat Mishra <tamishra@microsoft.com>
2025-03-19 11:12:40 -04:00
Vidya Reddy
b6c5bf067a
Vidya reddy pretty code (#53)
* updated action file with node16

* Code consistency using prettier and its workflow

* Enforce Prettier

* code fix

* code fix

* code fix

Co-authored-by: Vidya Reddy <vidyareddy@microsoft.com>
2022-06-24 16:08:48 -07:00
Oliver King
315a1c1f59
Refactor entire project (#39)
- Use more modern TypeScript conventions
- Use JavaScript Kubernetes Client
- Add unit tests
- Add integration tests
- Add TypeScript compile verify workflow
- Switch codeowners
2021-12-07 13:10:22 -05:00
Sundar
56b95ecccc
Added L0 tests. (#22)
* Added L0 tests.

* Updated according to review comments.
2021-03-26 11:36:55 +05:30
rgsubh
41bde4ee53
Setup for L0 Testcases (#8)
* Setup for L0 Testcases

* Issue Fix

* Issue Fix

* Review fix

* Review fix

* Review fix

* Review fix

* Review fix

* Review fix

* Review fix

* Review fix

* Review fix

* Review fix

* Install dependencies in all runs

* To get review on the approach of installing only dev-dep in case of releases

* Removed npm build, using just install
2020-06-19 15:22:36 +05:30
Deepak Sattiraju
483d185419 Porting from k8s-actions repo 2019-09-10 15:35:26 +05:30