Skip to content

chore: add copilot-setup-steps.yml for cloud agent environment#1

Closed
Copilot wants to merge 1 commit intomainfrom
copilot/setup-code-space
Closed

chore: add copilot-setup-steps.yml for cloud agent environment#1
Copilot wants to merge 1 commit intomainfrom
copilot/setup-code-space

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 21, 2026

What

Add .github/workflows/copilot-setup-steps.yml to pre-configure the Copilot cloud agent's ephemeral environment for this monorepo.

Why

Without setup steps, the agent wastes time discovering and installing dependencies via trial-and-error, and may fail to build packages correctly before starting work.

How

Mirrors the existing CI workflow setup: oven-sh/setup-bun, actions/setup-node@v4 (Node 22), bun install --frozen-lockfile, and bun run build to ensure all workspace packages are compiled and linked before the agent begins.

Test plan

  • Unit tests added/updated
  • Manual testing performed — workflow runs on push/PR to the file path and via workflow_dispatch
  • Documentation updated (if applicable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants