From 57ab590c720bcb42c6f35c0c4202bf655988e09b Mon Sep 17 00:00:00 2001 From: Alexey Date: Sat, 7 Sep 2024 23:16:59 +0300 Subject: [PATCH] Ci/run prepublish scripts (#6) * ci: run prepublish scripts * ci: use different method for brunch detection * ci: fix release workflow * ci: setup path to vitest config --- .github/workflows/coverage-report.yml | 1 + .github/workflows/release.yml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/coverage-report.yml b/.github/workflows/coverage-report.yml index d3054b9..7afb431 100644 --- a/.github/workflows/coverage-report.yml +++ b/.github/workflows/coverage-report.yml @@ -41,3 +41,4 @@ jobs: uses: davelosert/vitest-coverage-report-action@v2 with: json-summary-compare-path: coverage-main/coverage-summary.json + vite-config-path: ${working-directory}/packages/tests-runner/vite[st].config.{t|mt|ct|j|mj|cj}s diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 54fc78f..8a66ecd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -47,6 +47,9 @@ jobs: - name: Run tests run: yarn test:ci + - name: Run prepublish + run: yarn workspaces foreach -A --no-private run prepublish + - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}