2021-09-20 21:00:25 +00:00
|
|
|
---
|
2021-09-08 17:39:30 +00:00
|
|
|
# Commands to start on workspace startup
|
|
|
|
tasks:
|
2022-08-31 16:13:06 +00: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 21:03:26 +00:00
|
|
|
pnpm install
|
|
|
|
pnpm run build
|
|
|
|
command: |
|
2022-03-16 15:24:01 +00:00
|
|
|
.gitpod/gitpod-setup.sh
|
2021-09-20 21:00:25 +00:00
|
|
|
vscode:
|
|
|
|
extensions:
|
2022-03-15 21:03:26 +00:00
|
|
|
- astro-build.astro-vscode
|
2021-09-20 21:00:25 +00:00
|
|
|
- esbenp.prettier-vscode
|
|
|
|
- dbaeumer.vscode-eslint
|
2022-03-15 21:03:26 +00:00
|
|
|
ports:
|
2023-08-01 15:31:42 +00:00
|
|
|
- port: 4321
|
2022-03-15 21:03:26 +00:00
|
|
|
onOpen: open-preview
|
2021-09-20 21:00:25 +00: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
|