Skip to content

Migrate CI from typescript-ci action to typescript-ci-checks reusable workflow #675

Description

@couimet

Replace the typescript-ci composite action in .github/workflows/ci.yml with the new typescript-ci-checks reusable workflow. The integration tests job and any custom steps outside typescript-ci remain untouched — only the typescript-ci@main call is replaced.

Parent: couimet/github-actions#30

What to change

The test job currently runs typescript-ci@main plus additional steps (check-no-prerelease-deps and check-todos). Replace the typescript-ci step with a workflow_call to the reusable workflow, which already includes guard-versions, check-no-prerelease-deps, and check-todos as optional jobs.

Before (simplified):

jobs:
  test:
    steps:
      - uses: actions/checkout@v4
      - uses: couimet/github-actions/typescript-ci@main
      - uses: couimet/github-actions/check-no-prerelease-deps@main
      - uses: ./.github/actions/check-todos

After (simplified):

jobs:
  ci:
    uses: couimet/github-actions/.github/workflows/typescript-ci-checks.yml@main
    permissions:
      contents: read
      pull-requests: write

  integration-tests:
    # unchanged — keep as-is

The reusable workflow already includes guard-versions, check-no-prerelease-deps, and check-todos jobs, so the standalone steps can be removed.

Why

The reusable workflow runs each CI check (format, lint, build, test, guard-versions, check-no-prerelease-deps, check-todos) as a separate parallel job, giving per-step status visibility in PRs instead of one opaque pass/fail.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions