diff --git a/action.yml b/action.yml index 274051b..926f63b 100644 --- a/action.yml +++ b/action.yml @@ -20,4 +20,4 @@ inputs: runs: using: node16 - main: dist/index.js + main: dist/index.mjs diff --git a/discord-commits/index.js b/discord-commits/index.mjs similarity index 100% rename from discord-commits/index.js rename to discord-commits/index.mjs diff --git a/package.json b/package.json index d207766..cd59fc3 100644 --- a/package.json +++ b/package.json @@ -2,10 +2,10 @@ "name": "discord-commits", "version": "1.0.0", "description": "A github action that nicely displays multiple commits in discord based on templates.", - "main": "dist/index.js", + "main": "dist/index.mjs", "type": "module", "scripts": { - "build": "ncc build discord-commits/index.js --license licenses.txt", + "build": "ncc build discord-commits/index.mjs --license licenses.txt", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": {