-
Notifications
You must be signed in to change notification settings - Fork 11
42 lines (34 loc) · 1.03 KB
/
copilot-setup-steps.yml
File metadata and controls
42 lines (34 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Copilot Setup Steps
# This workflow defines the setup steps that GitHub Copilot agents will use
# to prepare the development environment for the vibe-dashboard project.
# It preinstalls tools and dependencies needed for Node.js and TypeScript development.
on:
workflow_dispatch:
pull_request:
types: [opened, synchronize]
paths:
- .github/workflows/copilot-setup-steps.yml
push:
branches:
- main
paths:
- .github/workflows/copilot-setup-steps.yml
permissions: {}
jobs:
copilot-setup-steps:
name: Setup Development Environment for Copilot
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup vp
uses: voidzero-dev/setup-vp@e1609b468742ba9232ce5e12b3a77bdf14495277 # v1.1.0
with:
cache: true
- run: npm i @ast-grep/cli -g
- name: Check
run: vp check
- name: Build project
run: vp run build