-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitpod.yml
43 lines (39 loc) · 1.1 KB
/
.gitpod.yml
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
37
38
39
40
41
42
43
image: nberlette/gitpod-enhanced:latest
tasks:
- init: |
which deno &>/dev/null || curl -fsSL https://deno.land/install.sh | sh -;
deno upgrade --canary -q -f
if [ -r ./deno.lock ]; then
rm -f deno.lock &>/dev/null;
for f in $(find . \( -type f -name "*.[mc]?[tj]sx?" -and -not -path "**/node_modules/**" \) -maxdepth 3);
do deno cache --reload --lock-write "$f" &>/dev/null;
done
fi
command: |
if [ -r ./deno.json ] || [ -r ./deno.jsonc ]; then
deno task dev 2>/dev/null || deno task
fi
vscode:
extensions:
- denoland.vscode-deno
- editorconfig.editorconfig
- vsls-contrib.gistfs
- redhat.vscode-yaml
- gitpod.gitpod-desktop
- gitpod.gitpod-remote-ssh
- akosyakov.gitpod-monitor
- github.copilot
- github.copilot-labs
- github.vscode-pull-request-github
github:
prebuilds:
master: true
branches: true
pullRequests: true
addLabel: "gitpod"
addCheck: "prevent-merge-on-error"
addBadge: true
ports:
- port: 8000-8888
visibility: private
onOpen: open-preview