Skip to content

Commit 42409a0

Browse files
authored
Merge pull request #15 from RedberryProducts/feat/copilot-setup-script
Feat: add build steps for copilot agent
2 parents 9bab49e + 491c68e commit 42409a0

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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 code
19+
uses: actions/checkout@v5
20+
21+
- name: Set up Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: "20"
25+
cache: "npm"
26+
27+
- name: Install JavaScript dependencies
28+
run: npm ci
29+
30+
- name: Set up PHP
31+
uses: shivammathur/setup-php@v2
32+
with:
33+
php-version: '8.3'
34+
- name: Install composer dependencies
35+
run: composer install --prefer-dist --no-progress --no-interaction

0 commit comments

Comments
 (0)