refactor(ops): standardize image-based production delivery
This commit is contained in:
@@ -15,6 +15,27 @@ env:
|
||||
PNPM_VERSION: "9.14.2"
|
||||
|
||||
jobs:
|
||||
guardrails:
|
||||
name: Architecture Guardrails
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: ${{ env.PNPM_VERSION }}
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: pnpm
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: Check architecture guardrails
|
||||
run: pnpm check:architecture
|
||||
|
||||
# ──────────────────────────────────────────────
|
||||
# Typecheck — ~40s, no services needed
|
||||
# ──────────────────────────────────────────────
|
||||
@@ -147,7 +168,7 @@ jobs:
|
||||
# ──────────────────────────────────────────────
|
||||
build:
|
||||
name: Build
|
||||
needs: [typecheck]
|
||||
needs: [guardrails, typecheck]
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
DATABASE_URL: postgresql://placeholder:placeholder@localhost:5432/placeholder
|
||||
|
||||
Reference in New Issue
Block a user