Skip to content

Commit 8b1f373

Browse files
CopilotBoshen
andauthored
Add copilot-setup-steps.yml workflow for GitHub Copilot development environment setup (#11)
* Initial plan * Add copilot-setup-steps.yml workflow for development environment setup Co-authored-by: Boshen <[email protected]> * Update .github/workflows/copilot-setup-steps.yml * Update .github/workflows/copilot-setup-steps.yml --------- Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: Boshen <[email protected]> Co-authored-by: Boshen <[email protected]>
1 parent a51fc7f commit 8b1f373

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: Copilot Setup Steps
2+
3+
# This workflow defines the setup steps that GitHub Copilot agents will use
4+
# to prepare the development environment for the vibe-dashboard project.
5+
# It preinstalls tools and dependencies needed for Node.js and TypeScript development.
6+
7+
on:
8+
workflow_dispatch:
9+
pull_request:
10+
types: [opened, synchronize]
11+
paths:
12+
- .github/workflows/copilot-setup-steps.yml
13+
push:
14+
branches:
15+
- main
16+
paths:
17+
- .github/workflows/copilot-setup-steps.yml
18+
19+
permissions: {}
20+
21+
jobs:
22+
copilot-setup-steps:
23+
name: Setup Development Environment for Copilot
24+
runs-on: ubuntu-latest
25+
steps:
26+
# Checkout full repo for git history.
27+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
28+
with:
29+
persist-credentials: false
30+
31+
- name: Setup Node.js
32+
uses: actions/setup-node@v4
33+
with:
34+
node-version: '20'
35+
36+
- name: Setup pnpm
37+
uses: pnpm/action-setup@v4
38+
39+
- name: Install dependencies
40+
run: pnpm install
41+
42+
- name: Run lint
43+
run: pnpm lint
44+
45+
- name: Build project
46+
run: pnpm build

0 commit comments

Comments
 (0)