summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Stephen Solka <solka@hey.com> 2021-09-20 17:00:25 -0400
committerGravatar GitHub <noreply@github.com> 2021-09-20 14:00:25 -0700
commit72059058bc2103954fd0214f92011f06e95fdc0c (patch)
treee6914896381d67c29c831a07c63e00f6b0983aa0
parentb3f34bfd0e6ef4339e59adfc6083019cfc1eb98b (diff)
downloadastro-72059058bc2103954fd0214f92011f06e95fdc0c.tar.gz
astro-72059058bc2103954fd0214f92011f06e95fdc0c.tar.zst
astro-72059058bc2103954fd0214f92011f06e95fdc0c.zip
Gitpod: Add astro vscode exts. Enable prebuild environments (#1394)
* add extensions to make dev easier * turn on prebuilt env to enable faster dev * [ci] yarn format * [ci] collect stats * [ci] collect stats Co-authored-by: trashhalo <trashhalo@users.noreply.github.com> Co-authored-by: Fred K. Schott <fkschott@gmail.com>
-rw-r--r--.gitpod.yml29
1 files changed, 24 insertions, 5 deletions
diff --git a/.gitpod.yml b/.gitpod.yml
index c65423be3..421e02e38 100644
--- a/.gitpod.yml
+++ b/.gitpod.yml
@@ -1,9 +1,28 @@
+---
# Commands to start on workspace startup
tasks:
- init: yarn install
command: yarn build
-# Once astro is on [vsx](https://open-vsx.org/), we should be able to specify it as an extension as well!
-# https://www.gitpod.io/docs/vscode-extensions
-# vscode:
-# extensions:
-# - astro-build.astro-vscode
+vscode:
+ extensions:
+ # TODO Once astro is on [vsx](https://open-vsx.org/), we should be able to specify it as an extension as well!
+ # https://www.gitpod.io/docs/vscode-extensions
+ - https://marketplace.visualstudio.com/_apis/public/gallery/publishers/astro-build/vsextensions/astro-vscode/0.7.13/vspackage
+ - esbenp.prettier-vscode
+ - dbaeumer.vscode-eslint
+github:
+ prebuilds:
+ # enable for the master/default branch (defaults to true)
+ master: true
+ # enable for all branches in this repo (defaults to false)
+ branches: true
+ # enable for pull requests coming from this repo (defaults to true)
+ pullRequests: true
+ # enable for pull requests coming from forks (defaults to false)
+ pullRequestsFromForks: true
+ # add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
+ addComment: true
+ # add a "Review in Gitpod" button to pull requests (defaults to false)
+ addBadge: false
+ # add a label once the prebuild is ready to pull requests (defaults to false)
+ addLabel: prebuilt-in-gitpod