Skip to content

Commit d8f9604

Browse files
committed
chore: add GitHub Actions workflow for Copilot setup steps
1 parent c097404 commit d8f9604

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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@v4
20+
21+
- name: Set up Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: "20"
25+
cache: "yarn"
26+
27+
- name: Install dependencies
28+
run: yarn install --frozen-lockfile --network-timeout 300000
29+
30+
- name: Verify installation
31+
run: |
32+
echo "Node.js version: $(node --version)"
33+
echo "Yarn version: $(yarn --version)"
34+
echo "TypeScript version: $(yarn tsc --version)"

0 commit comments

Comments
 (0)