diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b394b7829d..3246f4c88e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,6 +18,9 @@ env: ${{ github.workspace }}/ghost/*/node_modules ~/.cache/ms-playwright/ CACHED_BUILD_PATHS: | + ${{ github.workspace }}/apps/*/dist + ${{ github.workspace }}/apps/*/es + ${{ github.workspace }}/apps/*/umd ${{ github.workspace }}/ghost/*/build NX_CACHE_RESTORE_KEYS: | nx-Linux-${{ github.ref }}-${{ github.sha }} @@ -183,7 +186,7 @@ jobs: - name: Build packages if: steps.cache_built_packages.outputs.cache-hit != 'true' - run: yarn nx run-many -t build:ts + run: yarn nx run-many -t build:ts && yarn nx run-many -t build -p apps/* outputs: dependency_cache_key: ${{ env.cachekey }}