Skip to content
Merged
Show file tree
Hide file tree
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
1 change: 0 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
"baseBranch": "stable",
"updateInternalDependencies": "patch",
"ignore": [
"docs",
"nextjs-turbopack",
"nextjs-webpack",
"workflow-sdk-compiler-playground",
Expand Down
72 changes: 8 additions & 64 deletions .github/workflows/docs-checks.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# The docs/ directory does not exist on the stable branch.
# Docs are deployed only from main. This workflow is kept as a
# no-op on stable so that any branch protection rules referencing
# these job names still pass.
name: Docs Checks

on:
Expand All @@ -16,74 +20,14 @@ concurrency:
jobs:
docs-typecheck:
name: Docs Code Samples
if: false
runs-on: ubuntu-latest
timeout-minutes: 5
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 10.14.0

- name: Setup Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "pnpm"

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Build packages
run: pnpm build

- name: Type-check documentation code samples
run: pnpm test:docs
- run: true

docs-preview-smoke:
name: Docs Preview Smoke Checks
if: false
runs-on: ubuntu-latest
timeout-minutes: 5
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 10.14.0

- name: Setup Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "pnpm"

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Waiting for the Docs Vercel deployment
id: waitForDocsDeployment
uses: ./.github/actions/wait-for-vercel-project
with:
team-id: "team_nLlpyC6REAqxydlFKbrMDlud"
project-id: "prj_aLMkVj1S4Alk08AThC76nXgwbLEB"
vercel-token: ${{ secrets.VERCEL_DOCS_TOKEN }}
timeout: 1000
check-interval: 15
environment: ${{ github.ref == 'refs/heads/main' && 'production' || 'preview' }}

- name: Verify OpenGraph images and sitemap
run: pnpm --filter docs test:smoke
env:
DEPLOYMENT_URL: ${{ steps.waitForDocsDeployment.outputs.deployment-url }}
VERCEL_AUTOMATION_BYPASS_SECRET: ${{ secrets.VERCEL_AUTOMATION_BYPASS_SECRET }}
VERCEL_DOCS_TOKEN: ${{ secrets.VERCEL_DOCS_TOKEN }}
- run: true
30 changes: 4 additions & 26 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,33 +36,11 @@ jobs:
exit 1
fi

# The docs/ directory does not exist on the stable branch.
# This job is kept as a no-op so branch protection rules still pass.
docs-links:
name: Docs Links
if: false
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 10.14.0

- name: Setup Node.js 22.x
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: "pnpm"

- name: Setup Bun
uses: oven-sh/setup-bun@v2

- name: Install Dependencies
run: pnpm install --frozen-lockfile

- name: Validate docs links
run: bun ./scripts/lint.ts
working-directory: docs
- run: true
38 changes: 0 additions & 38 deletions docs/.gitignore

This file was deleted.

1 change: 0 additions & 1 deletion docs/LICENSE.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/README.md

This file was deleted.

32 changes: 0 additions & 32 deletions docs/app/[lang]/(home)/components/code-block.tsx

This file was deleted.

13 changes: 0 additions & 13 deletions docs/app/[lang]/(home)/components/cta.tsx

This file was deleted.

30 changes: 0 additions & 30 deletions docs/app/[lang]/(home)/components/features.tsx

This file was deleted.

Loading
Loading