diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 2629f07..da27756 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -31,10 +31,10 @@ jobs: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" > ~/.npmrc echo "@${{ github.repository_owner }}:registry=https://npm.pkg.github.com/" >> ~/.npmrc - run: npm install - - run: npm run build + - run: npm run pre-build - run: npm run lint - run: npm run test - - run: npm run pack + - run: npm run build - name: Coveralls uses: coverallsapp/github-action@v2 with: diff --git a/package.json b/package.json index f9e7e18..1f96801 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "lint": "npx eslint .", "test": "npx jest", "build": "npx ncc build src/action.ts -o dist", - "repack": "npm run build && npm run deployAssets && npm run lint && npm run pack" + "repack": "npm run build && npm run deployAssets && npm run lint && npm run build" }, "devDependencies": { "@types/node": "^20.8.9",