-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (37 loc) · 1.04 KB
/
copilot-setup-steps.yml
File metadata and controls
48 lines (37 loc) · 1.04 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
43
44
45
46
47
48
name: "Copilot Setup Steps (Windows Only)"
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
jobs:
# O job precisa se chamar exatamente assim:
copilot-setup-steps:
runs-on: windows-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v6
- name: Setup Node.js
uses: actions/setup-node@v6
with:
node-version-file: .nvmrc
- name: Show Node and NPM versions
run: |
node -v
npm -v
- name: Install dependencies
run: npm ci
# Se tiver build no seu projeto, deixa esse passo:
- name: Compile project
run: npm run compile
- name: Build CodeeForge Windows (Portable)
run: npm run gulp vscode-win32-x64-min
# Se não tiver build, pode apagar esse step
# Exemplo: rodar testes (opcional)
# - name: Run tests
# run: npm test