Skip to content

Commit fedf827

Browse files
committed
Migrate to ESM with esbuild/vitest and upgrade to node24
- Add "type": "module" to package.json for ESM support - Replace ncc with esbuild for bundling (with createRequire banner for CJS compat) - Replace jest/ts-jest with vitest for testing - Upgrade @actions/core to ^3.0.0, @actions/exec to ^3.0.0, @actions/io to ^3.0.2, @actions/tool-cache to 4.0.0 (ESM-only versions) - Update tsconfig.json to use NodeNext module resolution - Convert all tests to use vi.mock() factory pattern for ESM-only module compatibility - Update action.yml runtime from node20 to node24 - Bump version from 4.3.1 to 5.0.0 (major version bump for breaking node runtime change)
1 parent bc9bc0c commit fedf827

File tree

9 files changed

+1627
-4369
lines changed

9 files changed

+1627
-4369
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ outputs:
2020
branding:
2121
color: 'blue'
2222
runs:
23-
using: 'node20'
23+
using: 'node24'
2424
main: 'lib/index.js'

jest.config.js

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)