Skip to content

ci: add a branch checkup workflow - #8

Merged
GSTJ merged 1 commit into
masterfrom
gstj/branch-validation-ci
Jul 26, 2026
Merged

ci: add a branch checkup workflow#8
GSTJ merged 1 commit into
masterfrom
gstj/branch-validation-ci

Conversation

@GSTJ

@GSTJ GSTJ commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Adds a branch checkup workflow. husky runs lint and typecheck on commit and commitlint on the message, but nothing runs on the server, so a PR from a fork or a commit made with --no-verify goes in unchecked.

Same shape as magic-modal's branch checkup, minus the pnpm, turbo and expo-doctor parts that don't apply here. Runs on PRs and on pushes to master: yarn lint, yarn typescript, yarn test, yarn prepare. That last one is bob build, so a broken build fails the job.

.yarnrc points yarn-path at scripts/bootstrap.js, which installs the example app and the pods when it's called with no arguments. Passing install --frozen-lockfile makes it forward to yarn and stay on the library.

Keeping the package. magic-toast lists magic-modal as a dependency and supplies the toast layer on top of it, so magic-modal reaching 7.1.0 doesn't replace it. magic-modal's public API is MagicModalPortal, magicModal and useMagicModal. magic-toast v1.0.0 shipped against magic-modal v7 with RN 0.83.6, React 19.2 and reanimated 4.3.1, and it pulled 286 downloads last month.

Proof

Branch checkup run, every step green

Locally, from an empty node_modules and lib:

Local run: install, lint, typecheck, test, bob build, pack

The repo has husky running lint and typecheck on commit and commitlint on the
message, but nothing on the server, so a PR from a fork or a commit made with
`--no-verify` went unchecked.

Same shape as react-native-magic-modal's branch checkup, minus the pnpm, turbo
and expo-doctor parts this repo doesn't have. Runs on PRs and on pushes to
master: lint, typecheck, test, then `bob build`.
@GSTJ
GSTJ merged commit fda5fca into master Jul 26, 2026
1 check passed
@GSTJ
GSTJ deleted the gstj/branch-validation-ci branch July 26, 2026 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant