fix(ci): use local paths for host-mode Gitea runner

- Replace actions/checkout with git pull + local working-directory
- Fixes corp proxy blocking GitHub action downloads
This commit is contained in:
saravanakumardb1 2026-03-22 20:23:02 -07:00
parent fcc9207385
commit 41b7760ebf

View File

@ -9,7 +9,6 @@ concurrency:
cancel-in-progress: true
env:
COMMON_PLAT: /Users/sd9235/code/mygh/learning_ai_common_plat
DB_PROVIDER: memory
JWT_SECRET: ci-test-secret-at-least-32-characters-long
NEXT_TELEMETRY_DISABLED: '1'
@ -18,11 +17,15 @@ jobs:
backend:
name: Backend — typecheck + test
runs-on: ubuntu-latest
defaults:
run:
working-directory: /Users/sd9235/code/mygh/learning_ai_clock
steps:
- uses: actions/checkout@v4
- name: Pull latest
run: git pull --ff-only origin main || true
- name: Build @bytelyst/* packages
working-directory: ${{ env.COMMON_PLAT }}
working-directory: /Users/sd9235/code/mygh/learning_ai_common_plat
run: pnpm install --frozen-lockfile && pnpm build
- name: Install workspace dependencies
@ -37,11 +40,15 @@ jobs:
web:
name: Web — typecheck + lint + test + build
runs-on: ubuntu-latest
defaults:
run:
working-directory: /Users/sd9235/code/mygh/learning_ai_clock
steps:
- uses: actions/checkout@v4
- name: Pull latest
run: git pull --ff-only origin main || true
- name: Build @bytelyst/* packages
working-directory: ${{ env.COMMON_PLAT }}
working-directory: /Users/sd9235/code/mygh/learning_ai_common_plat
run: pnpm install --frozen-lockfile && pnpm build
- name: Install workspace dependencies