Skip to content

Commit 3c8e2c8

Browse files
Copilotejsmith
andcommitted
Add copilot-setup-steps.yml for Deno development environment setup
Co-authored-by: ejsmith <[email protected]>
1 parent 4782a07 commit 3c8e2c8

File tree

1 file changed

+68
-0
lines changed

1 file changed

+68
-0
lines changed

copilot-setup-steps.yml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
name: Development Environment Setup
2+
3+
description: |
4+
Setup steps for the FetchClient Deno project development environment.
5+
This configuration helps GitHub Copilot understand how to set up and work with this Deno TypeScript project.
6+
7+
steps:
8+
- name: Setup Deno
9+
uses: denoland/setup-deno@v2
10+
with:
11+
deno-version: v2.x
12+
13+
- name: Cache Deno dependencies
14+
uses: actions/cache@v4
15+
with:
16+
path: |
17+
~/.cache/deno
18+
~/.deno
19+
key: deno-${{ runner.os }}-${{ hashFiles('deno.lock') }}
20+
restore-keys: |
21+
deno-${{ runner.os }}-
22+
23+
- name: Install dependencies
24+
run: deno cache mod.ts
25+
26+
- name: Type check
27+
run: deno task check
28+
29+
- name: Format check
30+
run: deno task format-check
31+
32+
- name: Lint
33+
run: deno task lint
34+
35+
- name: Run tests
36+
run: deno task test
37+
38+
environment:
39+
deno_version: v2.x
40+
node_version: "22.x"
41+
42+
development_commands:
43+
- name: Run tests
44+
command: deno task test
45+
description: Run all tests with network permissions
46+
47+
- name: Type check
48+
command: deno task check
49+
description: Type check TypeScript files
50+
51+
- name: Format code
52+
command: deno fmt
53+
description: Format TypeScript files
54+
55+
- name: Lint code
56+
command: deno task lint
57+
description: Lint TypeScript files
58+
59+
- name: Build NPM package
60+
command: deno task build
61+
description: Build NPM package using DNT
62+
63+
project_info:
64+
language: TypeScript
65+
runtime: Deno
66+
package_manager: Deno
67+
test_framework: Deno Test
68+
build_tool: DNT (Deno to NPM Transform)

0 commit comments

Comments
 (0)