Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/lint-404s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,13 @@ jobs:
${{ github.workspace }}/node_modules
${{ github.workspace }}/.next/cache
${{ github.workspace }}/.eslintcache
key: node-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: node-${{ runner.os }}-${{ steps.setup-node.outputs.node-version }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
node-${{ runner.os }}-
node-${{ runner.os }}-${{ steps.setup-node.outputs.node-version }}-
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Unconditional Yarn Install Slows CI Builds

The yarn install step now runs unconditionally due to the removal of if: steps.cache.outputs.cache-hit != 'true'. This causes unnecessary dependency installation and slower CI builds, even when node_modules are already restored from cache.

Fix in Cursor Fix in Web


- run: yarn install --frozen-lockfile
if: steps.cache.outputs.cache-hit != 'true'

- run: yarn build
- run: yarn next build
if: steps.filter.outputs.docs == 'true'
env:
SENTRY_DSN: https://examplePublicKey@o0.ingest.sentry.io/0
Expand Down
Loading