Skip to content

Commit 56452a3

Browse files
committed
ci: fix npm cache hit condition in pr-preview
Use npm-cache step id so install skips when node_modules restored. Made-with: Cursor
1 parent 834f1a0 commit 56452a3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/pr-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
path: '**/node_modules'
4444
key: ${{ runner.os }}-npm-14-${{ secrets.CACHE_VERSION }}-${{ hashFiles('package-lock.json') }}
4545
- run: npm install --frozen-lockfile
46-
if: steps.yarn-cache.outputs.cache-hit != 'true'
46+
if: steps.npm-cache.outputs.cache-hit != 'true'
4747
- run: npm run build
4848
name: Build virtual assistant
4949
- uses: actions/cache@v4

0 commit comments

Comments
 (0)