Skip to content

CI: run Jest, a type check, JS lint and CSS lint - #241

Merged
bordoni merged 2 commits into
mainfrom
ci/lint-steps
Oct 17, 2026
Merged

bordoni merged 2 commits into
mainfrom
ci/lint-steps

Conversation

@bordoni

@bordoni bordoni commented Oct 17, 2026

Copy link
Copy Markdown
Owner

The JS job only built before. Now it also runs:

  • Jest (bun run test)
  • TypeScript (bun run typecheck, new script: tsc -p tsconfig.json)
  • lint:js
  • lint:css

Each step has if: ${{ !cancelled() }}, so one failure never hides another. Installs use --frozen-lockfile.

Stacked on #240.

@bordoni
bordoni added this pull request to stack #244 October 17, 2026 17:40
@bordoni
bordoni force-pushed the ci/lint-steps branch 3 times, most recently from 2563227 to 816a7fe Compare October 17, 2026 18:55
@bordoni
bordoni force-pushed the ci/lint-steps branch 3 times, most recently from ccbe152 to 2bbaf84 Compare October 17, 2026 23:50
Base automatically changed from docs/phpcs-docblocks to main October 17, 2026 23:51
The JS job only ran `bun run lint`, which stops at the first failure: CSS lint
never ran in CI and the Jest suite was never run at all. Each check is now its own
step that runs even when an earlier one fails, and `bun run typecheck` (tsc)
is new.
@bordoni
bordoni merged commit 0c22bf8 into main Oct 17, 2026
5 checks passed
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