4
0
Fork 0
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:
Jaiveer Katariya 2025-01-30 17:07:03 -05:00
parent ce3f44633d
commit b3e8a97a84
No known key found for this signature in database
GPG key ID: AB670420E156D4FB
3 changed files with 6 additions and 3 deletions

View file

@ -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
View file

@ -0,0 +1,5 @@
import {run} from './run'
import * as core from '@actions/core'
run().catch(core.setFailed)

View file

@ -155,5 +155,3 @@ export var walkSync = function (dir, filelist, fileToFind) {
})
return filelist
}
run().catch(core.setFailed)