feat(backend): CI/CD pipeline - GitHub Actions for test, build, deploy#1
Closed
Philip-D21 wants to merge 3 commits into
Closed
feat(backend): CI/CD pipeline - GitHub Actions for test, build, deploy#1Philip-D21 wants to merge 3 commits into
Philip-D21 wants to merge 3 commits into
Conversation
added 3 commits
June 24, 2026 18:23
- ci.yml: lint, typecheck, test, build quality gates on every PR - ci.yml: Docker build + Trivy scan on merge to main (pushed to ghcr.io) - deploy.yml: progressive staging → smoke tests → production delivery - vitest.config.ts + test scripts for unit testing infrastructure - Dockerfile: multi-stage Next.js build with standalone output - Fix lint error (trailing comma in adminAnalytics.ts) - Fix test failure (formatCredits rounding) - Remove deprecated .eslintignore - Add typecheck & lint:strict scripts Closes Farm-credit#556
- Remove explicit Node version (runner now defaults to Node 24) - Remove explicit pnpm version (read from packageManager in package.json) - Fixes 'Multiple versions of pnpm specified' error and Node 20 deprecation warning
Owner
Author
|
Superseded by Farm-credit#563 |
Philip-D21
pushed a commit
that referenced
this pull request
Jun 27, 2026
…nner-atoms Implementing Textarea and Spinner loading indicator atoms
Philip-D21
pushed a commit
that referenced
this pull request
Jun 28, 2026
…ng-region-map-2 feat: wire live privacy-preserving region map
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up a complete CI/CD pipeline covering lint, typecheck, test, build, Docker image, and progressive deployment.
Changes
CI (
.github/workflows/ci.yml)tsc --noEmitcatches type errors earlyREPLACE_WITH_*vars in.env.example.next/cache, waits on Phase 1 gatesghcr.ioon main merge, with Trivy vulnerability scanDeploy (
.github/workflows/deploy.yml)workflow_dispatchsupport for manual deploysInfrastructure
Dockerfile— Multi-stage Next.js build (standalone output, non-root user).dockerignore— Prunes build contextvitest.config.ts— Test configuration with path aliasestest,test:watch,test:ui,typecheck,lint:strictBug fixes
adminAnalytics.tsformatCreditsrounding bug inprojectFilters.ts.eslintignore(ESLint v9 no longer supports it)Closes Farm-credit#556