diff --git a/index.js b/index.js index f5e02fa..69f4328 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -import exec from './src/_exec'; +import exec from './src/_exec.js'; import path from 'path'; const run = async () => { diff --git a/package.json b/package.json index b99f95d..16acf79 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,7 @@ "version": "6.0.0", "description": "GitHub Action for Semantic Release", "main": "index.js", + "type": "module", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" },