fix broken build - switch to ncc build (#56)
* switch to ncc build * update * bump ncc
This commit is contained in:
5
.github/workflows/integration-tests.yml
vendored
5
.github/workflows/integration-tests.yml
vendored
@ -20,7 +20,10 @@ jobs:
|
||||
id: npm-build
|
||||
run: |
|
||||
npm install
|
||||
npm run build
|
||||
|
||||
- name: Build
|
||||
run: npm run build
|
||||
|
||||
- name: Set Context
|
||||
uses: ./
|
||||
with:
|
||||
|
@ -36,4 +36,4 @@ branding:
|
||||
color: 'blue'
|
||||
runs:
|
||||
using: 'node16'
|
||||
main: 'lib/run.js'
|
||||
main: 'lib/index.js'
|
||||
|
@ -2,9 +2,9 @@
|
||||
"name": "k8s-set-context-action",
|
||||
"version": "1.0.0",
|
||||
"private": true,
|
||||
"main": "lib/run.js",
|
||||
"main": "lib/index.js",
|
||||
"scripts": {
|
||||
"build": "tsc --outDir ./lib --rootDir ./src",
|
||||
"build": "ncc build src/run.ts -o lib",
|
||||
"test": "jest",
|
||||
"test-coverage": "jest --coverage",
|
||||
"format": "prettier --write .",
|
||||
@ -28,6 +28,7 @@
|
||||
"@types/jest": "^28.1.2",
|
||||
"@types/js-yaml": "^4.0.4",
|
||||
"@types/node": "^16.0.0",
|
||||
"@vercel/ncc": "^0.34.0",
|
||||
"jest": "^28.1.1",
|
||||
"prettier": "2.7.1",
|
||||
"ts-jest": "^28.0.5",
|
||||
|
Reference in New Issue
Block a user