Skip to content

Commit 6a2eca1

Browse files
Add copilot-setup-steps.yml workflow for agent environment setup
Co-authored-by: jaredmixpanel <[email protected]>
1 parent 477d511 commit 6a2eca1

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: "Copilot Setup Steps"
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
paths:
7+
- .github/workflows/copilot-setup-steps.yml
8+
pull_request:
9+
paths:
10+
- .github/workflows/copilot-setup-steps.yml
11+
12+
jobs:
13+
copilot-setup-steps:
14+
runs-on: ubuntu-latest
15+
permissions:
16+
contents: read
17+
steps:
18+
- name: Checkout repository
19+
uses: actions/checkout@v4
20+
21+
- name: Set up Node.js 20.x
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: '20'
25+
cache: 'npm'
26+
27+
- name: Install dependencies
28+
run: npm ci
29+
30+
- name: Build OpenAPI specifications
31+
run: npm run api:build
32+
33+
- name: Verify environment setup
34+
run: |
35+
echo "✅ Node.js version: $(node --version)"
36+
echo "✅ npm version: $(npm --version)"
37+
echo "✅ Dependencies installed"
38+
echo "✅ OpenAPI specs built"
39+
echo "✅ Environment ready for Copilot Coding Agent"

0 commit comments

Comments
 (0)