diff --git a/index.js b/index.js index 94ec1c1..7288913 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -import core from "@actions/core"; +const core = require("@actions/core"); const greeting = core.getInput("greeting"); const output = `Hello, ${greeting}!`; diff --git a/package.json b/package.json index 43146d5..620aefe 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,6 @@ "name": "hello-world-js-action", "version": "1.0.0", "private": true, - "type": "module", "description": "A simple GitHub Action written in JavaScript", "main": "dist/index.js", "scripts": {