mirror of
https://github.com/Azure/setup-helm.git
synced 2025-11-07 13:06:56 +00:00
moved execution to index to free up tests
This commit is contained in:
parent
ce3f44633d
commit
b3e8a97a84
3 changed files with 6 additions and 3 deletions
|
|
@ -16,7 +16,7 @@
|
|||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
"prebuild": "npm i ncc",
|
||||
"build": "ncc build src/run.ts -o lib",
|
||||
"build": "ncc build src/index.ts -o lib",
|
||||
"test": "jest",
|
||||
"test-coverage": "jest --coverage",
|
||||
"format": "prettier --write .",
|
||||
|
|
|
|||
5
src/index.ts
Normal file
5
src/index.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import {run} from './run'
|
||||
import * as core from '@actions/core'
|
||||
|
||||
|
||||
run().catch(core.setFailed)
|
||||
|
|
@ -155,5 +155,3 @@ export var walkSync = function (dir, filelist, fileToFind) {
|
|||
})
|
||||
return filelist
|
||||
}
|
||||
|
||||
run().catch(core.setFailed)
|
||||
|
|
|
|||
Loading…
Reference in a new issue