|
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
|
|
|
16
|
permissions: |
|
17
|
contents: read |
|
18
|
|
|
19
|
steps: |
|
20
|
- uses: actions/checkout@v4 |
|
21
|
|
|
22
|
- uses: actions/setup-node@v4 |
|
23
|
with: |
|
24
|
node-version: lts/* |
|
25
|
|
|
26
|
- name: Install dependencies |
|
27
|
run: npm ci |
|
28
|
|
|
29
|
- name: Install Playwright Browsers |
|
30
|
run: npx playwright install --with-deps |
|
31
|
|
|
32
|
# Customize this step as needed |
|
33
|
- name: Build application |
|
34
|
run: npx run build |
|
35
|
|