fix(ci): use sparse checkout to avoid large data/ directory
Some checks failed
Deploy Frontend / build-and-deploy (push) Failing after 5m59s
Some checks failed
Deploy Frontend / build-and-deploy (push) Failing after 5m59s
The repository has 314K+ files including backup data that exceeds the CI runner's disk space. This change uses sparse checkout to only fetch frontend/ and schemas/ directories needed for the build.
This commit is contained in:
parent
66ab2908d0
commit
b91be82af2
1 changed files with 6 additions and 1 deletions
|
|
@ -36,8 +36,13 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
- name: Checkout repository (sparse)
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
sparse-checkout: |
|
||||
frontend
|
||||
schemas
|
||||
sparse-checkout-cone-mode: false
|
||||
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v4
|
||||
|
|
|
|||
Loading…
Reference in a new issue