2021-09-20 16:00:25 -05:00
|
|
|
---
|
2021-09-08 12:39:30 -05:00
|
|
|
# Commands to start on workspace startup
|
|
|
|
tasks:
|
2022-08-31 11:13:06 -05:00
|
|
|
- before: |
|
|
|
|
# Get latest pnpm version, in case the custom docker image was not updated
|
|
|
|
# Until this issue gets resolved - https://github.com/gitpod-io/gitpod/issues/12551
|
|
|
|
curl -fsSL https://get.pnpm.io/install.sh | SHELL=`which bash` bash -
|
|
|
|
init: |
|
2022-03-15 16:03:26 -05:00
|
|
|
pnpm install
|
|
|
|
pnpm run build
|
|
|
|
command: |
|
2022-03-16 10:24:01 -05:00
|
|
|
.gitpod/gitpod-setup.sh
|
2021-09-20 16:00:25 -05:00
|
|
|
vscode:
|
|
|
|
extensions:
|
2022-03-15 16:03:26 -05:00
|
|
|
- astro-build.astro-vscode
|
2021-09-20 16:00:25 -05:00
|
|
|
- esbenp.prettier-vscode
|
|
|
|
- dbaeumer.vscode-eslint
|
2022-03-15 16:03:26 -05:00
|
|
|
ports:
|
2023-08-01 10:31:42 -05:00
|
|
|
- port: 4321
|
2022-03-15 16:03:26 -05:00
|
|
|
onOpen: open-preview
|
2021-09-20 16:00:25 -05:00
|
|
|
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
|