diff --git a/index.test.js b/__tests__/index.test.js similarity index 100% rename from index.test.js rename to __tests__/index.test.js diff --git a/action.yml b/action.yml index e53ca4f..5a09dd1 100644 --- a/action.yml +++ b/action.yml @@ -12,7 +12,7 @@ inputs: default: 'false' runs: using: 'node12' - main: 'index.js' + main: 'lib/index.js' branding: icon: 'package' color: 'yellow' diff --git a/get-latest-version.js b/lib/get-latest-version.js similarity index 100% rename from get-latest-version.js rename to lib/get-latest-version.js diff --git a/index.js b/lib/index.js similarity index 100% rename from index.js rename to lib/index.js diff --git a/package.json b/package.json index 64bf7dc..452cdc2 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,9 @@ "name": "hugo-action", "version": "2.1.0", "description": "Hugo setup action", - "main": "index.js", + "main": "lib/index.js", "scripts": { - "lint": "eslint ./index.js ./get-latest-version.js", + "lint": "eslint ./lib/**/*", "test": "jest", "build": "npm prune --production" },