mirror of
https://github.com/Azure/setup-helm.git
synced 2025-11-07 21:16:57 +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",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prebuild": "npm i ncc",
|
"prebuild": "npm i ncc",
|
||||||
"build": "ncc build src/run.ts -o lib",
|
"build": "ncc build src/index.ts -o lib",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test-coverage": "jest --coverage",
|
"test-coverage": "jest --coverage",
|
||||||
"format": "prettier --write .",
|
"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
|
return filelist
|
||||||
}
|
}
|
||||||
|
|
||||||
run().catch(core.setFailed)
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue