Add copilot-setup-steps.yml for GitHub Copilot cloud environment#1034
Merged
Add copilot-setup-steps.yml for GitHub Copilot cloud environment#1034
Conversation
Configure GitHub Copilot coding agent with: - Node.js 24.11.0 (matching project mise.toml) - npm dependency caching and installation - TypeScript build step This allows Copilot to run in the cloud with proper environment setup.
Replace actions/setup-node with jdx/mise-action to ensure: - Node.js 24.11.0 is installed per mise.toml - Consistent tooling environment with local dev and CI - mise run typecheck handles both compilation and type validation
- Add [tasks.build] for tsc compilation (matches npm run build) - Add [tasks.build:watch] for watch mode (matches npm run build:watch) - Remove broken [tasks.watch] which referenced non-existent tasks - These tasks ensure mise run build/build:watch work correctly Note: [tasks.typecheck] is intentionally kept for semantic distinction (typecheck for validation, build for compilation) even though both run tsc --build
- Update Node.js prerequisite from v20.17 to v24.11.0 (matching mise.toml) - Replace broken `mise run watch` with working alternatives: - `mise run build:watch` for TypeScript compilation - `mise run start:watch` for server auto-restart - Document that these should run in separate terminals
TypeScript requires --build to come before --watch. Changed from: tsc --watch --build . Changed to: tsc --build --watch .
- Remove reference to non-existent scripts/watch.js - Update to reflect current working watch commands
hawkrives
approved these changes
Apr 9, 2026
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.
This PR adds a
copilot-setup-steps.ymlworkflow file to configure GitHub Copilot's cloud development environment.Copilot Setup Changes
.github/workflows/copilot-setup-steps.ymlwith setup steps for the Copilot coding agentmise run typecheckfor TypeScript compilation and validationMise Configuration Fixes
Fixed broken mise task dependencies:
[tasks.build]- runstsc --build .(matchesnpm run build)[tasks.build:watch]- runstsc --build --watch .(matchesnpm run build:watch)[tasks.watch]which was referencing non-existent tasks[tasks.typecheck]for semantic distinction (validation context vs build context)Documentation Updates
Updated README.md:
mise run watchwith working watch commandsmise run build:watchandmise run start:watchfor developmentUpdated .github/copilot-instructions.md:
Why
GitHub Copilot can now run this repository in the cloud with proper environment setup. The workflow automatically runs when the file is modified to validate it works correctly.
Documentation
See: https://docs.github.com/en/copilot/how-tos/use-copilot-agents/coding-agent/customize-the-agent-environment