switch to ncc files (#44)
This commit is contained in:
parent
799fd53a36
commit
07e8ba6f62
3 changed files with 7485 additions and 15 deletions
16
action.yml
16
action.yml
|
@ -1,15 +1,15 @@
|
||||||
name: 'Kubectl tool installer'
|
name: "Kubectl tool installer"
|
||||||
description: 'Install a specific version of kubectl binary. Acceptable values are latest or any semantic version string like 1.15.0'
|
description: "Install a specific version of kubectl binary. Acceptable values are latest or any semantic version string like 1.15.0"
|
||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: 'Version of kubectl'
|
description: "Version of kubectl"
|
||||||
required: true
|
required: true
|
||||||
default: 'latest'
|
default: "latest"
|
||||||
outputs:
|
outputs:
|
||||||
kubectl-path:
|
kubectl-path:
|
||||||
description: 'Path to the cached kubectl binary'
|
description: "Path to the cached kubectl binary"
|
||||||
branding:
|
branding:
|
||||||
color: 'blue'
|
color: "blue"
|
||||||
runs:
|
runs:
|
||||||
using: 'node12'
|
using: "node12"
|
||||||
main: 'lib/run.js'
|
main: "lib/index.js"
|
||||||
|
|
7475
package-lock.json
generated
7475
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -2,9 +2,9 @@
|
||||||
"name": "setup-kubectl-action",
|
"name": "setup-kubectl-action",
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "lib/run.js",
|
"main": "lib/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "tsc --outDir ./lib --rootDir ./src",
|
"build": "ncc build src/run.ts -o lib",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test-coverage": "jest --coverage"
|
"test-coverage": "jest --coverage"
|
||||||
},
|
},
|
||||||
|
@ -22,6 +22,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^12.0.4",
|
"@types/node": "^12.0.4",
|
||||||
|
"@vercel/ncc": "^0.33.1",
|
||||||
"jest": "^26.0.1",
|
"jest": "^26.0.1",
|
||||||
"@types/jest": "^25.2.2",
|
"@types/jest": "^25.2.2",
|
||||||
"ts-jest": "^25.5.1",
|
"ts-jest": "^25.5.1",
|
||||||
|
|
Loading…
Reference in a new issue