Skip to content

Commit f1bc5c8

Browse files
authored
Fix 404 linter (#15312)
## Changes - Imrpoved gh action cache logic ## TODO There are some 404s that slipped through while the linter was not working. We should fix them before merging to not block other PRs. ### On Devloper Docs - [x] 🌐 http://localhost:3000/sdk/telemetry/profiles/continuous-profiling-api - `[Replay session](/product/explore/session-replay/web/)` - [x] 🌐 http://localhost:3000/sdk/telemetry/traces/modules/ai-agents - `[general size limits](/concepts/data-management/size-limits/)` ### On user facing docs - [x] 🌐 http://localhost:3000/security-legal-pii/security/data-retention-periods - `[Uptime](/product/monitoring/)` - `[Attachments](/product/issues/issue-details/attachments/)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/install__v9.x - `[using our Lambda Layer (recommended)](./install/layer__v9.x)` - `[installing the Sentry AWS NPM package](./install/cjs-npm__v9.x)` - `[ESM instructions](./install/esm-npm__v9.x)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/cloudflare/sourcemaps - `[Cloudflare Workers guide](/platforms/javascript/sourcemaps/uploading/wrangler/)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/nuxt/sourcemaps - `[source maps options](/platforms/javascript/guides/nuxt/configuration/build/#source-maps-options)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/solidstart/sourcemaps - `[Manual Configuration](../overview/javascript.solidstart.mdx)` - `[source maps options](/platforms/javascript/guides/solidstart/configuration/build/#source-maps-options)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/install/layer__v9.x - `[manually](../cjs-npm)` - `[ESM guide](../esm-npm)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/install/layer__v8.x - `[manually](../cjs-npm)` - `[ESM guide](../esm-npm)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/cordova/configuration/options - `[Dealing with CORS Issues](/platforms/javascript/guides/cordova/tracing/distributed-tracing/dealing-with-cors-issues/)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/electron/configuration/options - `[Custom IPC Namespace section](/platforms/javascript/guides/electron/platforms/javascript/guides/electron/#custom-ipc-namespace)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/configuration/lambda-wrapper - `[initializing the SDK in code](../../install/cjs-layer#alternative-initialize-the-sdk-in-code)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/install/npm__v9.x - `[CommonJS instructions](./cjs-npm__v9.x)` - `[ESM instructions](./esm-npm__v9.x)` - `[CommonJS instructions](./cjs-npm__v9.x)` - `[ESM instructions](./esm-npm__v9.x)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/install/cjs-npm__v9.x - `[Lambda Layer](../cjs-layer)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/electron/configuration/environments - `[Custom IPC Namespace section](/platforms/javascript/guides/electron/platforms/javascript/guides/electron/#custom-ipc-namespace)` - [x] 🌐 http://localhost:3000/platforms/javascript/guides/aws-lambda/configuration/integrations/unhandledrejection - `[manually wrapped](/platforms/javascript/guides/aws-lambda/install/cjs-layer/#alternative-initialize-the-sdk-in-code)`
1 parent 7726fe9 commit f1bc5c8

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/lint-404s.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,13 @@ jobs:
3636
${{ github.workspace }}/node_modules
3737
${{ github.workspace }}/.next/cache
3838
${{ github.workspace }}/.eslintcache
39-
key: node-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
39+
key: node-${{ runner.os }}-${{ steps.setup-node.outputs.node-version }}-${{ hashFiles('**/yarn.lock') }}
4040
restore-keys: |
41-
node-${{ runner.os }}-
41+
node-${{ runner.os }}-${{ steps.setup-node.outputs.node-version }}-
4242
4343
- run: yarn install --frozen-lockfile
44-
if: steps.cache.outputs.cache-hit != 'true'
4544

46-
- run: yarn build
45+
- run: yarn next build
4746
if: steps.filter.outputs.docs == 'true'
4847
env:
4948
SENTRY_DSN: https://[email protected]/0

0 commit comments

Comments
 (0)