diff --git a/.github/actions/gokakashi-scan/index.js b/.github/actions/gokakashi-scan/index.js index ca5b94d..1fd302e 100644 --- a/.github/actions/gokakashi-scan/index.js +++ b/.github/actions/gokakashi-scan/index.js @@ -1,4 +1,4 @@ -const fetch = require('node-fetch'); // Use CommonJS require for v2.x +const fetch = require('node-fetch'); const { setFailed, getInput, setOutput } = require('@actions/core'); async function run() { diff --git a/.github/actions/gokakashi-scan/package.json b/.github/actions/gokakashi-scan/package.json index 0235a6d..75eb9e3 100644 --- a/.github/actions/gokakashi-scan/package.json +++ b/.github/actions/gokakashi-scan/package.json @@ -3,7 +3,6 @@ "version": "1.0.0", "description": "GitHub Action for scanning images using goKakashi", "main": "index.js", - "type": "module", "dependencies": { "@actions/core": "^1.10.1", "node-fetch": "^2.6.1"