Skip to content

Commit 3a769f4

Browse files
committed
fix: local source packages installation on ci builds
1 parent 92324a0 commit 3a769f4

2 files changed

Lines changed: 14 additions & 2 deletions

File tree

.github/workflows/docs-build.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ jobs:
2222
with:
2323
node-version: 22
2424
cache: yarn
25-
cache-dependency-path: docs/yarn.lock
25+
cache-dependency-path: |
26+
yarn.lock
27+
docs/yarn.lock
28+
29+
- name: Install library dependencies (local source)
30+
working-directory: ${{ github.workspace }}
31+
run: yarn install --immutable
2632

2733
- name: Install dependencies
2834
run: yarn install --immutable

.github/workflows/docs-publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,13 @@ jobs:
2727
with:
2828
node-version: 22
2929
cache: yarn
30-
cache-dependency-path: docs/yarn.lock
30+
cache-dependency-path: |
31+
yarn.lock
32+
docs/yarn.lock
33+
34+
- name: Install library dependencies (local source)
35+
working-directory: ${{ github.workspace }}
36+
run: yarn install --immutable
3137

3238
- name: Install dependencies
3339
run: yarn install --immutable

0 commit comments

Comments
 (0)