refactor(cli): standardize operational scripts on a shared command runner #190
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: TypeScript coverage | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| permissions: | |
| # Los cuatro workflows solo leen el repo: clonan, instalan y corren | |
| # tests. Ninguno hace push, ni comenta, ni publica, ni toca secrets. | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| coverage: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 20 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| with: | |
| version: 10.13.1 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: pnpm | |
| - name: Install JS dependencies | |
| run: pnpm install --frozen-lockfile | |
| - name: Validate structured logging | |
| run: pnpm logging:test && pnpm logging:check | |
| - name: Run coverage gate | |
| run: pnpm coverage:test |