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:
parent
ad50e604c6
commit
d80dc4d553
@ -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
|
||||
|
||||
@ -17,11 +16,15 @@ jobs:
|
||||
backend:
|
||||
name: Backend — typecheck + test + build
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /Users/sd9235/code/mygh/learning_ai_notes
|
||||
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
|
||||
@ -39,11 +42,15 @@ jobs:
|
||||
web:
|
||||
name: Web — typecheck + test + build
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /Users/sd9235/code/mygh/learning_ai_notes
|
||||
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
|
||||
@ -61,11 +68,15 @@ jobs:
|
||||
mobile:
|
||||
name: Mobile — typecheck
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: /Users/sd9235/code/mygh/learning_ai_notes
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user