Description
As a developer using Vite+, I want to be able to immediately assign GitHub Copilot Coding Agent to work on a Vite+ project.
Currently, when GitHub Copilot Coding Agent tries to work on the freshly-created project, it will not be able to run vp command directly. It will not be able to install vp either due to firewall. Eventually it will figure out how to install Vite+ through pnpm, but this led it to run corepack pnpm exec vp run website#build instead of vp run website#build. Having figured this out the hard way, it remembers in the memory that Vite+ should be run through corepack pnpm exec vp.
Suggested solution
Generated project should include .github/workflows/copilot-setup-steps.yml file.
name: "Copilot Setup Steps"
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Vite+
uses: voidzero-dev/setup-vp@v1
Alternative
Manually create the .github/workflows/copilot-setup-steps.yml file with the above contents.
Additional context
No response
Validations
Description
As a developer using Vite+, I want to be able to immediately assign GitHub Copilot Coding Agent to work on a Vite+ project.
Currently, when GitHub Copilot Coding Agent tries to work on the freshly-created project, it will not be able to run
vpcommand directly. It will not be able to installvpeither due to firewall. Eventually it will figure out how to install Vite+ through pnpm, but this led it to runcorepack pnpm exec vp run website#buildinstead ofvp run website#build. Having figured this out the hard way, it remembers in the memory that Vite+ should be run throughcorepack pnpm exec vp.Suggested solution
Generated project should include
.github/workflows/copilot-setup-steps.ymlfile.Alternative
Manually create the
.github/workflows/copilot-setup-steps.ymlfile with the above contents.Additional context
No response
Validations