diff --git a/action.yml b/action.yml index c37ccc1..b09ceb8 100644 --- a/action.yml +++ b/action.yml @@ -58,4 +58,4 @@ outputs: description: 'the generated release changelog' runs: using: 'node20' - main: 'dist/index.js' + main: 'dist/index.mjs' diff --git a/dist/index.js b/dist/index.mjs similarity index 100% rename from dist/index.js rename to dist/index.mjs diff --git a/package.json b/package.json index cb31276..db37331 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "test": "eslint src/** && tsc --noEmit ./src/index.ts", "fix": "eslint --fix src/**", - "build": "bun build ./src/index.js --target=node --outfile=dist/index.js", + "build": "bun build ./src/index.js --target=node --outfile=dist/index.mjs", "prepare": "husky" }, "license": "MIT",