Skip to content

Commit 32d6e33

Browse files
committed
chore: comment out node_modules caching in publish-sample.yml
1 parent a5b3ebe commit 32d6e33

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

.github/workflows/publish-sample.yml

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,12 @@ jobs:
4949
id: yarn-lock-hash
5050
run: echo "hash=${{ hashFiles('**/yarn.lock') }}" >> $GITHUB_OUTPUT
5151

52-
# - name: Cache node_modules
53-
# id: yarn-cache
54-
# uses: actions/cache@v4
55-
# with:
56-
# path: ${{ env.CACHE_NODE_MODULES_PATH }}
57-
# key: ${{ runner.os }}-yarn-${{ steps.yarn-lock-hash.outputs.hash }}
58-
# restore-keys: |
59-
# ${{ runner.os }}-yarn-
52+
- name: Cache node_modules
53+
id: yarn-cache
54+
uses: actions/cache@v4
55+
with:
56+
path: ${{ env.CACHE_NODE_MODULES_PATH }}
57+
key: ${{ runner.os }}-yarn-${{ steps.yarn-lock-hash.outputs.hash }}
6058

6159
- name: Install dependencies
6260
if: steps.yarn-cache.outputs.cache-hit != 'true'

0 commit comments

Comments
 (0)