[TW-7440] fix(ci): replace removed cloudflare/pages-action with wrangler-action - #763
Open
benjaminwhtan wants to merge 2 commits into
Open
benjaminwhtan wants to merge 2 commits into
benjaminwhtan wants to merge 2 commits into
Conversation
…ler-action - replace cloudflare/pages-action@v1 with cloudflare/wrangler-action pinned to the v4.1.3 commit SHA - deploy with `wrangler pages deploy docs` using the same project name and branch - point the sdk-reference environment URL at the new deployment-url output Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
benjaminwhtan
had a problem deploying
to
sdk-reference
September 30, 2026 19:08 — with
GitHub Actions
Failure
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #763 +/- ##
=======================================
Coverage 98.75% 98.75%
=======================================
Files 43 43
Lines 1041 1041
Branches 90 90
=======================================
Hits 1028 1028
Misses 12 12
Partials 1 1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
- bump the docs job from Node 18.x to 24.x because Wrangler 4 requires Node 20 or newer Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
docsjob insdk-reference.yamlfails on every PR withUnable to resolve action cloudflare/pages-action, not found. Cloudflare has removed that repo after deprecating it in favour ofcloudflare/wrangler-action. It has failed on PRs since early September and last passed onmainon 2026-08-28. This is the same fix as nylas/nylas-python#489, which is merged and deploying correctly.Changes
cloudflare/pages-action@v1withcloudflare/wrangler-action, pinned to the v4.1.3 commit SHA (953926a…) instead of a moving tag.pages deploy docs --project-name=nylas-nodejs-sdk-reference --branch=${{ env.CLOUDFLARE_BRANCH }}: the same project, directory and branch as before.sdk-referenceenvironment URL fromoutputs.urltooutputs.deployment-url, the new action's name for it.wranglerVersion: "3", so the action uses its default Wrangler 4.Wrangler requires at least Node.js v20.0.0. Node 24 is already in the test matrix, and Node 20 is end-of-life.CLOUDFLARE_BRANCHcan't be set by a PR author: it's the PR number ormain. So putting it intocommandisn't an injection risk.Testing
mainpush deployed to productiondocscheck on this PR passes: Wrangler 4 on Node 24.21.0 built and deployed a preview (390 files, deployment complete)Related
🤖 Generated with Claude Code