-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
36 lines (29 loc) · 835 Bytes
/
copilot-setup-steps.yml
File metadata and controls
36 lines (29 loc) · 835 Bytes
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
name: "Copilot Setup Steps"
on:
workflow_dispatch:
push:
paths:
- .github/workflows/copilot-setup-steps.yml
pull_request:
paths:
- .github/workflows/copilot-setup-steps.yml
env:
NPM_CONFIG_FETCH_RETRIES: 3
NPM_CONFIG_FETCH_RETRY_FACTOR: 2
NPM_CONFIG_FETCH_RETRY_MINTIMEOUT: 5000
NPM_CONFIG_FETCH_RETRY_MAXTIMEOUT: 20000
NPM_CONFIG_PREFER_OFFLINE: true
jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v6
with:
node-version-file: ".nvmrc"
- name: Install dependencies
run: npm install