Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit bbb6c35

Browse files
committed
Cache all node_modules
1 parent 7fdd546 commit bbb6c35

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/actions/common/action.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ runs:
2424
path: |
2525
${{ env.npm_cache_dir }}
2626
./node_modules
27+
./packages/*/node_modules
2728
key: ${{ runner.os }}-node-root-${{ hashFiles('./package-lock.json') }}
2829
restore-keys: |
2930
${{ runner.os }}-node-root-
@@ -33,10 +34,7 @@ runs:
3334
- name: Install lerna
3435
shell: bash
3536
run: npm i -g lerna@6
36-
# - name: Install dependencies
37-
# if: ${{ steps.cache-npm-root.outputs.cache-hit != 'true' }}
38-
# shell: bash
39-
# run: npm ci
4037
- name: Lerna bootstrap
38+
if: ${{ steps.cache-npm-root.outputs.cache-hit != 'true' }}
4139
shell: bash
4240
run: npx lerna bootstrap

0 commit comments

Comments
 (0)