ci: add GitHub Actions workflow for lint, typecheck, and build - #161
Closed
Violetlove200100 wants to merge 1 commit into
Closed
ci: add GitHub Actions workflow for lint, typecheck, and build#161Violetlove200100 wants to merge 1 commit into
Violetlove200100 wants to merge 1 commit into
Conversation
Adds .github/workflows/ci.yml that runs on every PR to main and on pushes to main. Steps: - Install pnpm 11.9.0 with store caching - pnpm install --frozen-lockfile - prisma:generate (required for access-api build) - pnpm run lint - pnpm run typecheck - pnpm run build closes Adamantine-guild#41
Lakes41
approved these changes
Jul 20, 2026
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
Adds
.github/workflows/ci.yml— a CI workflow that runs on every PR targetingmainand on direct pushes tomain.What this does
engines: node >=18)packageManagerfield) viapnpm/action-setuppnpm-lock.yamlfor faster installspnpm install --frozen-lockfile— reproducible, fail-fast installspnpm --filter access-api run prisma:generate— required before building/typecheckingaccess-api(Prisma client must exist)pnpm run lint— runs ESLint across all workspacespnpm run typecheck— runstsc --noEmitacross all workspacespnpm run build— compiles all workspacesAcceptance criteria met
LintorTypecheckstep and block merge.CI / Lint, Typecheck & Build) that repo maintainers can enforce via branch protection onmain.closes #41