mirror of
https://github.com/cloudflare/vinext.git
synced 2026-05-09 00:09:23 +02:00
[PR #314] [MERGED] refactor(ci): extract composite actions and improve workflow hygiene #470
Labels
No labels
enhancement
enhancement
good first issue
help wanted
nextjs-tracking
nextjs-tracking
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vinext#470
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/cloudflare/vinext/pull/314
Author: @james-elicx
Created: 3/7/2026
Status: ✅ Merged
Merged: 3/7/2026
Merged by: @james-elicx
Base:
main← Head:opencode/playful-circuit📝 Commits (3)
8e3e6e2refactor(ci): extract composite actions and improve workflow hygiene757244brefactor(ci): revert to inline steps, keep only setup-node-pnpm composite action56ead1brefactor(ci): use setup-node-pnpm composite action consistently📊 Changes
8 files changed (+102 additions, -150 deletions)
View changed files
➕
.github/actions/setup-node-pnpm/action.yml(+27 -0)📝
.github/workflows/benchmarks.yml(+3 -10)📝
.github/workflows/ci.yml(+36 -68)📝
.github/workflows/deploy-examples.yml(+11 -15)📝
.github/workflows/deploy-preview-command.yml(+1 -8)📝
.github/workflows/ecosystem-run.yml(+22 -35)📝
.github/workflows/preview-release.yml(+1 -6)📝
.github/workflows/publish.yml(+1 -8)📄 Description
Summary
setup-node-pnpmcomposite action replaces the repeated 3-step pnpm/node/install triplet across all eligible workflows — every workflow that does setup and install now uses it consistentlydeploy-examples.yml— prevents deploy jobs piling up on busy branchescreate-next-appjob — replaced the inlinenode {0}+require()script with a portable bash loopecosystem-run.yml— all inline Node heredocs converted fromrequire()tonode --input-type=modulewithimportstatementsExceptions (intentionally kept inline)
bonk.yml/bigbonk.yml—issue_comment-triggered workflows; GHAS flags local composite actions reachable from these as untrusted-checkout TOCTOUtip.ymlnotify-on-failurejob — only needs plainsetup-node, no pnpm or install🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.