diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ca1494d3..5bc83d45 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -47,7 +47,6 @@ jobs: - name: Run unit tests run: | npm ci - npm run build npm run test - name: Run e2e tests env: @@ -59,7 +58,6 @@ jobs: E2E_TABLE_SUFFIX: ${{github.sha}} run: | npm ci - npm run build npm run e2e - name: Coverage run: | diff --git a/package.json b/package.json index 68d09540..d7babcaa 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,7 @@ "node": ">=14.0.0" }, "scripts": { - "prepack": "npm run build", - "prepublish": "npm run build", + "prepare": "npm run build", "e2e": "nyc --reporter=lcov --report-dir=coverage_e2e mocha 'tests/e2e/**/*.test.js' --timeout=300000", "test": "nyc --reporter=lcov --report-dir=coverage_unit mocha 'tests/unit/**/*.test.js'", "coverage": "codecov",