diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6caed4e9480..98b8b2173c8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -398,5 +398,6 @@ jobs: - lint - rust_check - rust_test + # after merged to main branch if: ${{ !failure() && github.event_name == 'push' }} uses: ./.github/workflows/preview-commit.yml diff --git a/.github/workflows/preview-commit.yml b/.github/workflows/preview-commit.yml index f90da47c7db..22800b35873 100644 --- a/.github/workflows/preview-commit.yml +++ b/.github/workflows/preview-commit.yml @@ -37,7 +37,7 @@ jobs: - target: x86_64-unknown-linux-gnu runner: ${{ needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS }} - target: aarch64-unknown-linux-gnu - runner: ubuntu-latest + runner: "'ubuntu-latest'" - target: x86_64-unknown-linux-musl runner: ${{ needs.get-runner-labels.outputs.LINUX_RUNNER_LABELS }} - target: aarch64-unknown-linux-musl diff --git a/package.json b/package.json index 73da0f5141a..b84d8c4a11d 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "test:webpack": "pnpm --filter \"webpack-test\" test:metric", "doc-coverage": "pnpm --filter \"@rspack/core\" doc-coverage", "api-extractor:local": "pnpm --filter \"@rspack/*\" api-extractor --local", - "api-extractor:ci": "pnpm --filter \"'@rspack/*\" api-extractor:ci" + "api-extractor:ci": "pnpm --filter \"@rspack/*\" api-extractor:ci" }, "homepage": "https://rspack.dev", "bugs": "https://github.com/web-infra-dev/rspack/issues",