mirror of
https://github.com/selfxyz/self.git
synced 2026-01-08 22:28:11 -05:00
* remove lazy loading * fix tests * formatting * fix imports and web ci * fix tests * fix building * fix * debug ci * fix web ci issue * fix * fix * fix ci * remove web render test * coderabbit feedback * fix ci * use import * fix lint * fix compiling * update lock * update lock * fix: update yarn.lock hash for @selfxyz/mobile-sdk-alpha Resolves CI error where yarn install --immutable failed due to outdated package hash. The hash changed from b2afc4 to f9ebb9. * fix: update yarn.lock hash after mobile-sdk-alpha changes - Hash changed from c0e6b9 to 0d0f72 due to package modifications - Cleaned caches and regenerated lockfile to ensure consistency - This resolves CI cache mismatch where old artifacts had stale hash * fix: update yarn.lock hash after building mobile-sdk-alpha - Final hash: 89f5a6 (includes built dist artifacts) - Built mobile-sdk-alpha to ensure package is in stable state - This should resolve CI immutable install errors * fix yarn lock and build
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
name: cache-built-deps
|
|
description: Cache built JS artifacts (common + mobile-sdk-alpha)
|
|
inputs:
|
|
cache-version:
|
|
description: Cache version string for cache key
|
|
required: true
|
|
outputs:
|
|
cache-hit:
|
|
description: Whether cache was hit during restore
|
|
value: ${{ steps.restore.outputs.cache-hit }}
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- id: restore
|
|
name: Restore Built Dependencies
|
|
uses: actions/cache/restore@v4
|
|
with:
|
|
path: |
|
|
common/dist
|
|
packages/mobile-sdk-alpha/dist
|
|
key: built-deps-${{ inputs.cache-version }}-${{ hashFiles('common/**/*', 'packages/mobile-sdk-alpha/**/*', '!common/dist/**', '!packages/mobile-sdk-alpha/dist/**') }}
|
|
fail-on-cache-miss: false
|
|
- name: Save Built Dependencies
|
|
if: steps.restore.outputs.cache-hit != 'true'
|
|
uses: actions/cache/save@v4
|
|
with:
|
|
path: |
|
|
common/dist
|
|
packages/mobile-sdk-alpha/dist
|
|
key: built-deps-${{ inputs.cache-version }}-${{ hashFiles('common/**/*', 'packages/mobile-sdk-alpha/**/*', '!common/dist/**', '!packages/mobile-sdk-alpha/dist/**') }}
|