mirror of
https://github.com/n8n-io/n8n.git
synced 2026-09-17 17:42:47 +08:00
ci: Fix Wrangler install in API schema publish workflow (#35188)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
256478f748
commit
83b1f15208
@@ -58,6 +58,14 @@ jobs:
|
||||
Content-Type: text/yaml; charset=utf-8
|
||||
EOF
|
||||
|
||||
# wrangler-action self-installs Wrangler with `pnpm add` at the workspace
|
||||
# root, which pnpm rejects (ERR_PNPM_ADDING_TO_ROOT). Pre-install it and
|
||||
# allow the root add so the action finds Wrangler and skips its own install.
|
||||
- name: Setup Wrangler Pre-requisites
|
||||
run: |
|
||||
echo "ignore-workspace-root-check=true" >> .npmrc
|
||||
pnpm add --global wrangler
|
||||
|
||||
- name: Deploy to Cloudflare Pages
|
||||
uses: cloudflare/wrangler-action@da0e0dfe58b7a431659754fdf3f186c529afbe65 # v3.14.1
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user