Conversation
|
Co-authored-by: JReinhold <5678122+JReinhold@users.noreply.github.com>
| - name: Install pnpm | ||
| run: | | ||
| # Install pnpm package manager (required by this monorepo) | ||
| npm install -g pnpm@10.19.0 | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| # Install all dependencies for the monorepo with frozen lockfile | ||
| pnpm install --frozen-lockfile --prefer-offline --ignore-scripts |
There was a problem hiding this comment.
@copilot can't you use the "Setup Node.js" custom action we have in this repo?
There was a problem hiding this comment.
Good suggestion! Updated in 864479a to use the existing .github/actions/setup-node-and-install composite action instead of manually installing pnpm and dependencies. This makes it more maintainable and consistent with the CI workflows.
Co-authored-by: JReinhold <5678122+JReinhold@users.noreply.github.com>
|
@copilot looks like you didnt actually read the documentation link I sent in the original prompt. Try to read it. |
…kflow Co-authored-by: JReinhold <5678122+JReinhold@users.noreply.github.com>
You're absolutely right - I misunderstood the documentation. Fixed in a7c3846:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #90 +/- ##
=======================================
Coverage 89.13% 89.13%
=======================================
Files 19 19
Lines 414 414
Branches 116 116
=======================================
Hits 369 369
Misses 6 6
Partials 39 39 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Pull Request Overview
This PR adds a GitHub Actions workflow to optimize GitHub Copilot Coding Agent's repository interaction by pre-configuring the development environment. The workflow follows GitHub's official specification for copilot-setup-steps.yml and reuses existing repository patterns for consistency.
Key Changes
- Adds
.github/workflows/copilot-setup-steps.ymlwith the requiredcopilot-setup-stepsjob name - Includes three essential setup steps: checkout, Node.js/dependency setup, and Turbo build
- Configures automatic validation triggers on workflow changes and manual dispatch capability
|
@copilot the formatting check is failing. you need to format your code. At the end of every commit you make, it's very important that you do: note this down in the main copilot instructions, with high importance. |
…structions.md Co-authored-by: JReinhold <5678122+JReinhold@users.noreply.github.com>
... Fixed in 2743e4e:
Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Adds
.github/workflows/copilot-setup-steps.ymlas a GitHub Actions workflow to optimize GitHub Copilot Coding Agent's repository interaction by pre-configuring the development environment.Changes
Added
.github/workflows/copilot-setup-steps.ymlas a GitHub Actions workflow with:copilot-setup-stepsjob name (for Copilot recognition)workflow_dispatch,push,pull_request)contents: read).github/actions/setup-node-and-install)Updated
.github/copilot-instructions.mdwith new "Formatting and checks (CRITICAL)" section:pnpm run formatandpnpm run checkThis approach reuses the existing custom action to ensure consistency with CI workflows and includes all caching benefits (pnpm cache, Turbo cache).
Format
Follows GitHub's copilot-setup-steps.yml specification as a GitHub Actions workflow:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.