feat(client): add DevframeRpcClient.close() #655
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| unit-test: | |
| uses: sxzz/workflows/.github/workflows/unit-test.yml@main | |
| with: | |
| build: pnpm run ci:build | |
| # The Build step above already produced a fresh dist/ for this exact | |
| # checkout, so skip `test`'s own `build && vitest` — running plain | |
| # vitest halves the number of full-monorepo `turbo run build` passes | |
| # per job, which is where the flaky Windows native-toolchain crash | |
| # (see scripts/ci-retry.ts) shows up. | |
| test: pnpm exec vitest | |
| lint: pnpm run lint && pnpm run knip | |
| e2e: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 15 | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: pnpm/action-setup@v6 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: 22 | |
| cache: pnpm | |
| - run: pnpm install --frozen-lockfile | |
| - name: Cache Playwright browsers | |
| uses: actions/cache@v6 | |
| with: | |
| path: ~/.cache/ms-playwright | |
| key: playwright-${{ hashFiles('pnpm-lock.yaml') }} | |
| - run: | | |
| sudo rm -f /etc/apt/sources.list.d/azure-cli.list /etc/apt/sources.list.d/microsoft-prod.list || true | |
| sudo apt-get update || true | |
| pnpm exec playwright install --with-deps chromium | |
| - run: pnpm test:e2e | |
| - if: failure() | |
| uses: actions/upload-artifact@v7 | |
| with: | |
| name: playwright-report | |
| path: playwright-report/ | |
| retention-days: 7 | |
| # coverage: | |
| # uses: sxzz/workflows/.github/workflows/coverage.yml@main | |
| # needs: unit-test | |
| # permissions: | |
| # id-token: write |