Repository navigation
docs(docs): update the Prisma ORM 8 pages for 8.0.0-rc.25 #964
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Error Reference Check | |
| # The published error-reference pages must list every structured error code | |
| # the products can emit — prisma/orm (main) errors link to | |
| # /docs/orm/reference/error-reference#<CODE>, prisma/prisma-cli (main) errors | |
| # to /docs/cli/error-reference#<CODE>. This check fails if any known code is | |
| # missing from its page, even if the sync workflow breaks. | |
| # | |
| # Runs on pushes to main, on PRs that touch the page or its tooling, and on a | |
| # daily schedule so drift introduced upstream is flagged without blocking | |
| # unrelated PRs. | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| paths: | |
| - apps/docs/content/docs/orm/reference/error-reference.mdx | |
| - apps/docs/content/docs/cli/error-reference.mdx | |
| - apps/docs/scripts/generate-error-reference.mjs | |
| - .github/workflows/error-reference-check.yml | |
| - .github/workflows/sync-error-reference-docs.yml | |
| schedule: | |
| - cron: "30 6 * * *" | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| verify: | |
| name: Verify error-reference completeness | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: false | |
| - name: Checkout prisma/orm (main) | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: prisma/orm | |
| ref: main | |
| path: prisma-src | |
| persist-credentials: false | |
| - name: Checkout prisma/prisma-cli (main) | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: prisma/prisma-cli | |
| ref: main | |
| path: prisma-cli-src | |
| persist-credentials: false | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "24" | |
| - name: Verify ORM page lists every known error code | |
| run: node prisma-src/scripts/list-error-codes.mjs --root prisma-src --verify apps/docs/content/docs/orm/reference/error-reference.mdx | |
| - name: Verify CLI page lists every known error code | |
| run: node prisma-cli-src/scripts/list-error-codes.mjs --root prisma-cli-src --verify apps/docs/content/docs/cli/error-reference.mdx |