Skip to content

ci: reuse prerelease verification and support skip-release - #11

Merged
ElgoogUdiab merged 2 commits into
prereleasefrom
dev/optimize-ci
Sep 23, 2026
Merged

ElgoogUdiab merged 2 commits into
prereleasefrom
dev/optimize-ci

Conversation

@ElgoogUdiab

@ElgoogUdiab ElgoogUdiab commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

The same CLI changes currently run the full six-environment matrix at both PR stages and both publication stages. Promotion PRs and main pushes now reuse a successful prerelease Release run only when its exact commit has the same complete Git tree as the proposed release. Missing evidence, API failures, changed contents and unsupported merge shapes fall back to full CI. Development PRs and prerelease pushes retain the full matrix.

Formatting and lint run once per full verification. All six environments still compile with TypeScript through npm test, so the redundant standalone tsc --noEmit step is removed. Existing required checks and publication installation checks remain in place.

A skip-release label on the PR merged by a push suppresses npm publication and GitHub Release creation on either release branch, while verification continues. The label does not carry over from an earlier development PR. Unavailable or ambiguous PR metadata blocks publication. This PR carries the label to avoid publishing a beta for CI maintenance.

Validation: lint, formatting and actionlint passed; 52 existing repository tests and five local workflow regression tests passed; npm global/local/one-off, pnpm and Yarn packed installations passed. The workflow regression tests remain local and are not included in this PR.

@ElgoogUdiab ElgoogUdiab added the skip-release Skip npm publication and GitHub Release for this PR merge; keep CI checks label Sep 23, 2026
@ElgoogUdiab
ElgoogUdiab marked this pull request as ready for review September 23, 2026 16:18
@ElgoogUdiab
ElgoogUdiab merged commit f484a41 into prerelease Sep 23, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-release Skip npm publication and GitHub Release for this PR merge; keep CI checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant