diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index f33fdee..cbee69a 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -22,6 +22,7 @@ jobs: echo $PR_BASE_REF if [[ $PR_BASE_REF != releases/* ]]; then npm install + npm i -g @vercel/ncc npm run build fi - name: Setup helm diff --git a/package.json b/package.json index 4538a59..2fb1d32 100644 --- a/package.json +++ b/package.json @@ -13,9 +13,9 @@ "@octokit/graphql": "^4.6.1", "semver": "^6.1.0" }, - "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" }, @@ -26,4 +26,4 @@ "@types/jest": "^25.2.2", "ts-jest": "^25.5.1" } -} +} \ No newline at end of file