ci(deploy) : verify during image build
CI / Build immutable images and deploy (push) Successful in 1m50s

This commit is contained in:
2026-09-16 16:15:27 +07:00 Unverified
parent e21ad99d60
commit 2799103dd0
-34
View File
@@ -15,42 +15,8 @@ env:
KUBE_API_SERVER: https://100.112.189.33:6443/
jobs:
verify:
name: Verify
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.14
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Run unit and integration tests
env:
REDIS_INTEGRATION_URL: ${{ secrets.REDIS_INTEGRATION_URL }}
run: bun run test
- name: Generate route types and check TypeScript
run: bun run typecheck
- name: Lint
run: bun run lint
- name: Set up kubectl
uses: azure/setup-kubectl@v4
- name: Validate Kubernetes manifests
run: kubectl kustomize k8s/ >/dev/null
build-and-deploy:
name: Build immutable images and deploy
needs: verify
if: >-
gitea.event_name == 'push' &&
gitea.ref == 'refs/heads/main' &&