Skip to content

Add CI build and lint checks - #26

Merged
davidtaing merged 2 commits into
codesydney:mainfrom
Fhatu12:ci/issue-3-build-lint
Aug 14, 2026
Merged

Add CI build and lint checks#26
davidtaing merged 2 commits into
codesydney:mainfrom
Fhatu12:ci/issue-3-build-lint

Conversation

@Fhatu12

@Fhatu12 Fhatu12 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Closes #3

What this does

  • runs CI for pull requests and pushes to main
  • installs dependencies with the locked pnpm version
  • reads Node from .nvmrc
  • runs ESLint independently from the Next.js build
  • runs the production build

Verification

  • pnpm install --frozen-lockfile
  • pnpm lint
  • pnpm build
  • git diff --check

The issue also requires live evidence that CI rejects both lint and build failures. Keep this PR as draft until those checks are demonstrated.

@davidtaing davidtaing left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @Fhatu12, looks good to me. Can you update the SHAs to the latest released versions? Some of these are on version 7 and 6.

@davidtaing

Copy link
Copy Markdown
Collaborator

By the way, how did you find the setup instructions @Fhatu12? Was it okay?

@Fhatu12

Fhatu12 commented Aug 14, 2026

Copy link
Copy Markdown
Contributor Author

Thanks, no worries, the setup instructions were good. I found the pnpm and Node version guidance especially useful, and AGENTS.md made the project conventions clear. I was able to get the project running and validate lint/build without any major issues.

@davidtaing
davidtaing marked this pull request as ready for review August 14, 2026 06:21
@davidtaing
davidtaing merged commit 796fa34 into codesydney:main Aug 14, 2026
1 check passed
@davidtaing

Copy link
Copy Markdown
Collaborator

Approving, thank you for your contribution @Fhatu12

@Fhatu12
Fhatu12 deleted the ci/issue-3-build-lint branch August 14, 2026 06:57
davidtaing pushed a commit that referenced this pull request Aug 14, 2026
Closes #6

## What changed

- configure Playwright to build and serve the production Next.js app
- run the suite in desktop and mobile Chromium projects
- smoke-test `/`, `/contact`, and the generated 404 route
- cover menu focus containment and restoration, hash navigation, header
fade behavior, and contact-form submission
- run structural WCAG checks with `@axe-core/playwright`; existing
palette contrast debt remains outside this harness change
- add a standalone GitHub Actions workflow that installs Chromium and
runs `pnpm test:e2e`

## Why

Most routes are Server Components, so they need browser-level coverage.
This gives the project a production-build smoke gate without overlapping
the general build/lint workflow in #26.

## Verification

- `pnpm lint`
- `pnpm build`
- `pnpm test:e2e` — 18 passed across desktop and mobile Chromium
- `pnpm install --frozen-lockfile --lockfile-only`
- `git diff --check`

---------

Co-authored-by: Oniel Alejo Feliz <197416079+XonkelX@users.noreply.github.com>
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.

Set up CI: build and lint on pull requests

2 participants