Skip to content

Commit 6029c29

Browse files
committed
chore: add copilot-setup-steps.yml
1 parent effb22b commit 6029c29

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: 'Copilot Setup Steps'
2+
3+
on:
4+
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+
# If you want to clone the repository as part of your setup steps, for example to install dependencies, you'll need the `contents: read` permission. If you don't clone the repository in your setup steps, Copilot will do this for you automatically after the steps complete.
15+
contents: read
16+
17+
# You can define any steps you want, and they will run before the agent starts.
18+
# If you do not check out your code, Copilot will do this for you.
19+
steps:
20+
- uses: actions/checkout@v5
21+
22+
- uses: oven-sh/setup-bun@v2
23+
24+
- name: Install dependencies
25+
run: bun install
26+
27+
- name: Build dist files
28+
run: bun run build

0 commit comments

Comments
 (0)