Skip to content

Commit 5e7874d

Browse files
authored
Create copilot-setup-steps.yml
1 parent 311171c commit 5e7874d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Coding Agent Environment Setup"
2+
3+
# Allow testing of the setup steps from your repository's "Actions" tab.
4+
on: workflow_dispatch
5+
6+
jobs:
7+
# The job MUST be called `copilot-setup-steps` or it will not be picked up by Copilot.
8+
copilot-setup-steps:
9+
runs-on: ubuntu-latest
10+
11+
# Set the permissions to the lowest permissions possible needed for your steps.
12+
# Copilot will be given its own token for its operations.
13+
permissions:
14+
# Clone the repository to install dependencies
15+
contents: read
16+
17+
steps:
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: '23' # Use the Node.js version compatible with VitePress
22+
23+
- name: Install dependencies
24+
run: npm install
25+
26+
- name: Fetch documentation contents
27+
run: npm run sync
28+
29+
- name: Build the site
30+
run: npm run docs:build

0 commit comments

Comments
 (0)