Skip to content

Commit ec24a1a

Browse files
committed
fix(ci): replace obsolete external cache with yoga-layout WASM cache
- Removed packages/cli/external cache (path doesn't exist anymore) - Added packages/yoga-layout/build/wasm cache to avoid rebuilding WASM - Cache key based on package.json and yoga source files
1 parent 3278d67 commit ec24a1a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/provenance.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@ jobs:
3131
- uses: SocketDev/socket-registry/.github/actions/setup@d8ff3b0581d799466cfbf150f715c1a4bf9f84a5 # main
3232
with:
3333
scope: '@socketsecurity'
34-
- name: Cache build artifacts (external files)
34+
- name: Cache yoga-layout WASM
3535
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
3636
with:
37-
path: packages/cli/external
38-
key: socket-cli-external-${{ hashFiles('packages/cli/package.json') }}
37+
path: packages/yoga-layout/build/wasm
38+
key: yoga-wasm-${{ hashFiles('packages/yoga-layout/package.json', 'packages/yoga-layout/yoga/**') }}
3939
restore-keys: |
40-
socket-cli-external-
40+
yoga-wasm-
4141
- run: npm install -g npm@latest
4242
- run: pnpm install
4343

0 commit comments

Comments
 (0)