Skip to content

CI: run production build in GitHub Actions (not only local checks) #644

@saif-at-scalekit

Description

@saif-at-scalekit

Context

PR #635 (preview/add-ci-workflow) adds CI checks, but it currently runs validation only (pnpm astro check, pnpm run format:check, markdown audit) and does not run the actual production build.

Goal

Ensure the same build that is expected locally is executed in GitHub Actions so build regressions are caught before merge.

Proposed change

Update .github/workflows/ci.yml (introduced in preview/add-ci-workflow) to include a production build step, e.g. pnpm run build (or the canonical repo build command).

Acceptance criteria

  • CI workflow includes a build step after dependency installation/checks
  • Pull requests fail when the build fails
  • Build command in CI matches documented local build command

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions