From 90ac41d9e41f2eebe02071f6514bbe9a133ee29e Mon Sep 17 00:00:00 2001 From: Steven Enamakel Date: Thu, 5 Feb 2026 01:07:08 +0530 Subject: [PATCH] feat: enhance Android CI workflow with skills module caching and build steps - Added support for caching node modules in the skills directory to improve build performance. - Introduced steps to install and build skills dependencies within the Android CI workflow. --- .github/workflows/package-android.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/package-android.yml b/.github/workflows/package-android.yml index 82be4000c..c5239515a 100644 --- a/.github/workflows/package-android.yml +++ b/.github/workflows/package-android.yml @@ -120,6 +120,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 1 + submodules: true ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.ref || github.ref }} - name: Setup Node.js 24.x @@ -169,6 +170,22 @@ jobs: if: steps.yarn-cache.outputs.cache-hit != 'true' run: yarn install --frozen-lockfile + - name: Cache skills node modules + id: skills-yarn-cache + uses: actions/cache@v4 + with: + path: skills/node_modules + key: ${{ runner.os }}-skills-${{ hashFiles('skills/yarn.lock') }} + restore-keys: | + ${{ runner.os }}-skills- + + - name: Install skills dependencies + if: steps.skills-yarn-cache.outputs.cache-hit != 'true' + run: cd skills && yarn install --frozen-lockfile + + - name: Build skills + run: cd skills && yarn build + - name: Build frontend run: yarn build env: