Refactor: directory structure (#31)
* config: update version * refactor: move source codes to lib directory, Close #30 * refactor: move test code
This commit is contained in:
parent
25a3456032
commit
4d54b90c0e
|
@ -12,7 +12,7 @@ inputs:
|
|||
default: 'false'
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: 'index.js'
|
||||
main: 'lib/index.js'
|
||||
branding:
|
||||
icon: 'package'
|
||||
color: 'yellow'
|
||||
|
|
|
@ -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"
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue