Skip to content

ci: lint and build the website on every PR - #22

Merged
lautaropaske merged 1 commit into
mainfrom
lautaropaske/ci
Oct 23, 2026
Merged

lautaropaske merged 1 commit into
mainfrom
lautaropaske/ci

Conversation

@lautaropaske

@lautaropaske lautaropaske commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

The repo has no CI, so nothing checks that the Next.js site in website/ still builds before a change reaches main. This adds .github/workflows/ci.yaml, laid out like candidate-portal's: lint and build are separate jobs that run on every PR into main and on pushes to main. A new push to a PR cancels the run it replaces, and each job has a 10-minute timeout. The build job caches .next/cache.

Both jobs become required checks in the "Protect main" ruleset.

Test Plan

  • The lint and build jobs on this PR pass (see checks below).

The repo had no CI, so nothing checked that the Next.js site still
builds before a change reached main. Lint and build run as separate
jobs, the same layout as candidate-portal, and both become required
checks in the main branch ruleset.
@lautaropaske
lautaropaske merged commit f38c81f into main Oct 23, 2026
2 checks passed
@lautaropaske
lautaropaske deleted the lautaropaske/ci branch October 23, 2026 17:56
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