Skip to content

ci: run lint, tests and build on push and PRs - #5

Merged
TenaciousHare merged 1 commit into
mainfrom
ci/github-actions
Sep 30, 2026
Merged

TenaciousHare merged 1 commit into
mainfrom
ci/github-actions

Conversation

@TenaciousHare

Copy link
Copy Markdown
Owner

Add CI with GitHub Actions

Adds a continuous integration workflow that runs on every push to main and on every pull request.

What changed

  • Added .github/workflows/ci.yml.
  • The workflow installs dependencies with npm ci, then runs lint → tests → build in sequence. Any failing step fails the check.
  • Node version is read from .nvmrc (single source of truth), with npm dependency caching for speed.

Why

Automates the quality checks that were previously manual. No PR can now be merged with a failing lint, test, or build without it being visible.

Notes

  • Uses npm run test:run (single run), not npm test (watch mode), so the job doesn't hang.

Follow-ups

  • Optional: branch protection to require green checks before merge.
  • Optional: automated deploy to Netlify/Vercel on merge to main.

Checklist

  • Workflow triggers on push + PR
  • Runs lint, tests, an

@netlify

netlify Bot commented Sep 30, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for destinations-test ready!

Name Link
🔨 Latest commit dc3df07
🔍 Latest deploy log https://app.netlify.com/projects/destinations-test/deploys/6abd9c0d2e850e0008540d98
😎 Deploy Preview https://deploy-preview-5--destinations-test.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@TenaciousHare
TenaciousHare merged commit e2df907 into main Sep 30, 2026
6 checks passed
@TenaciousHare
TenaciousHare deleted the ci/github-actions branch September 30, 2026 23:33
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