Skip to content

ci: add GitHub Actions workflow for lint, typecheck, and build - #161

Closed
Violetlove200100 wants to merge 1 commit into
Adamantine-guild:mainfrom
Violetlove200100:feat/ci-workflow
Closed

ci: add GitHub Actions workflow for lint, typecheck, and build#161
Violetlove200100 wants to merge 1 commit into
Adamantine-guild:mainfrom
Violetlove200100:feat/ci-workflow

Conversation

@Violetlove200100

Copy link
Copy Markdown
Contributor

Summary

Adds .github/workflows/ci.yml — a CI workflow that runs on every PR targeting main and on direct pushes to main.

What this does

  • Checkout the repository
  • Set up Node 20 (satisfies engines: node >=18)
  • Install pnpm 11.9.0 (matches packageManager field) via pnpm/action-setup
  • Cache the pnpm store keyed on pnpm-lock.yaml for faster installs
  • pnpm install --frozen-lockfile — reproducible, fail-fast installs
  • pnpm --filter access-api run prisma:generate — required before building/typechecking access-api (Prisma client must exist)
  • pnpm run lint — runs ESLint across all workspaces
  • pnpm run typecheck — runs tsc --noEmit across all workspaces
  • pnpm run build — compiles all workspaces

Acceptance criteria met

  • A PR with a lint or type error will fail the Lint or Typecheck step and block merge.
  • The workflow is a single required status check (CI / Lint, Typecheck & Build) that repo maintainers can enforce via branch protection on main.

closes #41

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 Lakes41 closed this Jul 20, 2026
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.

2 participants