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.
Replace the
typescript-cicomposite action in.github/workflows/ci.ymlwith the newtypescript-ci-checksreusable workflow. The integration tests job and any custom steps outsidetypescript-ciremain untouched — only thetypescript-ci@maincall is replaced.Parent: couimet/github-actions#30
What to change
The
testjob currently runstypescript-ci@mainplus additional steps (check-no-prerelease-depsandcheck-todos). Replace thetypescript-cistep with aworkflow_callto the reusable workflow, which already includes guard-versions, check-no-prerelease-deps, and check-todos as optional jobs.Before (simplified):
After (simplified):
The reusable workflow already includes
guard-versions,check-no-prerelease-deps, andcheck-todosjobs, 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.