Skip to content

Commit d0e19db

Browse files
ci: stop checking the npm dev tag of prisma
Two repositories publish prisma under the dev tag: prisma-cli (the CLI the action runs) and the v7 branch of prisma/orm (the Prisma 7 CLI, which has no deploy command). The tag points at whichever published last, so this check has failed on every scheduled run since 2026-11-14 without anything being wrong with the action. The check of each dev build moves to prisma-cli, which can test the exact build it publishes. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Signed-off-by: willbot <w.a.madden+machine@gmail.com> Signed-off-by: Will Madden <madden@prisma.io>
1 parent 4e52dea commit d0e19db

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ jobs:
6565
strategy:
6666
fail-fast: false
6767
matrix:
68-
# rc.29 is the last CLI that takes --stage. latest and dev are npm
69-
# dist-tags, so a scheduled run tests each new release.
70-
prisma: [8.0.0-rc.29, 8.0.0-rc.33, latest, dev]
68+
# rc.29 is the last CLI that takes --stage. latest is an npm dist-tag,
69+
# so a scheduled run tests each new release.
70+
prisma: [8.0.0-rc.29, 8.0.0-rc.33, latest]
7171
steps:
7272
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
7373
- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Branch names reach the action as environment variables and are passed to the `pr
169169

170170
Plain Node with zero dependencies and no build step. Inputs arrive as `INPUT_*` environment variables; outputs and state go to `$GITHUB_OUTPUT` and `$GITHUB_STATE`.
171171

172-
CI tests the action in three ways. Unit tests cover the scripts. A matrix runs the exact arguments the action passes against real `prisma` CLIs, including the npm `latest` and `dev` tags. An end-to-end job runs the action itself (`uses: ./`) on the small app in `e2e/app`: it deploys to a new preview environment, checks the outputs and that the service answers, then destroys the environment. It runs once with the app's pinned versions and once moved to `prisma@latest`. The end-to-end job needs the `PRISMA_SERVICE_TOKEN` secret and the `PRISMA_WORKSPACE_ID` variable. A sweep step destroys `e2e-*` environments whose run has finished, which are ones an earlier run could not destroy. It fails only when such an environment is more than a day old. To remove one by hand, run `ENVIRONMENT=<name> bun scripts/destroy.ts` in `e2e/app` with `PRISMA_SERVICE_TOKEN` and `PRISMA_WORKSPACE_ID` set. The end-to-end job covers the `bun install` path with the app's own `prisma` devDependency. It does not cover `npm ci` or the `prisma-version` input. CI also runs every 6 hours. A failed or cancelled job on `main`, on a scheduled run, on a manual run or on a `prisma-released` dispatch posts to Slack through the `SLACK_WEBHOOK_URL` secret.
172+
CI tests the action in three ways. Unit tests cover the scripts. A matrix runs the exact arguments the action passes against real `prisma` CLIs, including the npm `latest` tag. An end-to-end job runs the action itself (`uses: ./`) on the small app in `e2e/app`: it deploys to a new preview environment, checks the outputs and that the service answers, then destroys the environment. It runs once with the app's pinned versions and once moved to `prisma@latest`. The end-to-end job needs the `PRISMA_SERVICE_TOKEN` secret and the `PRISMA_WORKSPACE_ID` variable. A sweep step destroys `e2e-*` environments whose run has finished, which are ones an earlier run could not destroy. It fails only when such an environment is more than a day old. To remove one by hand, run `ENVIRONMENT=<name> bun scripts/destroy.ts` in `e2e/app` with `PRISMA_SERVICE_TOKEN` and `PRISMA_WORKSPACE_ID` set. The end-to-end job covers the `bun install` path with the app's own `prisma` devDependency. It does not cover `npm ci` or the `prisma-version` input. CI also runs every 6 hours. A failed or cancelled job on `main`, on a scheduled run, on a manual run or on a `prisma-released` dispatch posts to Slack through the `SLACK_WEBHOOK_URL` secret.
173173

174174
Publishing a `v1.x.y` release, or promoting a prerelease to one, moves the `v1` tag to the newest published `v1.x.y` release (`.github/workflows/major-tag.yml`). Publishing a prerelease never moves it. To move it by hand, run that workflow.
175175

0 commit comments

Comments
 (0)