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

Commit bd5babc

Browse files
committed
Disable caching temporarily
1 parent 0fe83de commit bd5babc

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

.github/actions/common/action.yml

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,29 +12,30 @@ runs:
1212
uses: actions/setup-node@v3
1313
with:
1414
node-version: ${{ matrix.node-version }}
15-
- name: Get npm cache directory
16-
id: npm-cache-dir
17-
shell: bash
18-
run: |
19-
echo "npm_cache_dir=$(npm config get cache)" >> $GITHUB_ENV
20-
- name: Cache root node_modules
21-
id: cache-npm-root
22-
uses: actions/cache@v3
23-
with:
24-
path: |
25-
${{ env.npm_cache_dir }}
26-
./node_modules
27-
./packages/*/node_modules
28-
key: ${{ runner.os }}-node-root-${{ hashFiles('./package-lock.json') }}
29-
restore-keys: |
30-
${{ runner.os }}-node-root-
15+
# FIXME: Caching doesn't seem to work well with lerna...
16+
# - name: Get npm cache directory
17+
# id: npm-cache-dir
18+
# shell: bash
19+
# run: |
20+
# echo "npm_cache_dir=$(npm config get cache)" >> $GITHUB_ENV
21+
# - name: Cache root node_modules
22+
# id: cache-npm-root
23+
# uses: actions/cache@v3
24+
# with:
25+
# path: |
26+
# ${{ env.npm_cache_dir }}
27+
# ./node_modules
28+
# ./packages/*/node_modules
29+
# key: ${{ runner.os }}-node-root-${{ hashFiles('./package-lock.json') }}
30+
# restore-keys: |
31+
# ${{ runner.os }}-node-root-
3132
- name: Update npm
3233
shell: bash
3334
run: npm i -g npm
3435
- name: Install lerna
3536
shell: bash
3637
run: npm i -g lerna@6
3738
- name: Lerna bootstrap
38-
if: ${{ steps.cache-npm-root.outputs.cache-hit != 'true' }}
39+
# if: ${{ steps.cache-npm-root.outputs.cache-hit != 'true' }}
3940
shell: bash
4041
run: npx lerna bootstrap

0 commit comments

Comments
 (0)