chore(release): bump to 8.0.0-rc.14 #660
Workflow file for this run
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: PR Quality | |
| # This workflow owns required PR status checks. Add only jobs that should block | |
| # merging when they fail. | |
| on: | |
| pull_request: | |
| concurrency: | |
| group: pr-quality-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| permissions: | |
| contents: read | |
| jobs: | |
| typecheck: | |
| name: Type Check | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: .node-version | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| # turbo builds workspace:* dependencies (^build) before each | |
| # package's tsc run, so imports of built dist output resolve. | |
| - name: Type check | |
| run: pnpm typecheck | |
| lint: | |
| name: Lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Set up Biome | |
| uses: biomejs/setup-biome@4c91541eaada48f67d7dbd7833600ce162b68f51 # v2.7.1 | |
| - name: Lint | |
| run: biome ci . --error-on-warnings | |
| grammar: | |
| name: Grammar Completeness | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: .node-version | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| # Every family command mounted, every mounted command owned by a | |
| # family, every path spelled as expected. The same check runs | |
| # before any publish, so a PR that breaks the tree fails here | |
| # first rather than at release time. | |
| - name: Check grammar completeness | |
| run: pnpm check:grammar | |
| error-reference: | |
| name: Error Reference Completeness | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: .node-version | |
| # Every structured error code in production source must have an entry | |
| # in docs/reference/error-reference.md, the canonical registry behind | |
| # https://docs.prisma.io/docs/cli/error-reference. The scanner has no | |
| # dependencies, so no install step is needed. | |
| - name: Check error-reference completeness | |
| run: pnpm check:error-reference | |
| skill-packaging: | |
| name: Skill Packaging | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: .node-version | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| # Packs the `prisma` package the same way publish does and reads the | |
| # skill back out of the tarball: the stamp, the file set, and byte | |
| # equality with the tracked skills/ tree. | |
| - name: Check skill packaging | |
| run: pnpm check:skill-packaging | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| persist-credentials: false | |
| - name: Set up pnpm | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version-file: .node-version | |
| cache: pnpm | |
| - name: Install dependencies | |
| run: pnpm install --frozen-lockfile | |
| # turbo builds workspace:* dependencies (^build) before each | |
| # package's tests, so imports of built dist output resolve. | |
| - name: Test | |
| run: pnpm test | |
| - name: Script tests | |
| run: pnpm test:scripts | |
| # Finds a broken tarball on the pull request instead of at publish | |
| # time. The turbo task builds its own dependencies, so no explicit | |
| # build step is needed here. | |
| # | |
| # PUBLISH_CHANNEL=dev because merging a pull request publishes a dev | |
| # version of the CLI, and a dev CLI is allowed to depend on the | |
| # products' dev builds. A release publish sets `release` instead and | |
| # is refused if any dependency is a dev build; that is checked in | |
| # publish.yml, which is the only place a release can happen. | |
| - name: Conformance checks | |
| env: | |
| PUBLISH_CHANNEL: dev | |
| run: pnpm check:conformance |