.gitpod.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. ---
  2. # Commands to start on workspace startup
  3. tasks:
  4. - before: |
  5. # Get latest pnpm version, in case the custom docker image was not updated
  6. # Until this issue gets resolved - https://github.com/gitpod-io/gitpod/issues/12551
  7. curl -fsSL https://get.pnpm.io/install.sh | SHELL=`which bash` bash -
  8. init: |
  9. pnpm install
  10. pnpm run build
  11. command: |
  12. .gitpod/gitpod-setup.sh
  13. vscode:
  14. extensions:
  15. - astro-build.astro-vscode
  16. - esbenp.prettier-vscode
  17. - dbaeumer.vscode-eslint
  18. ports:
  19. - port: 4321
  20. onOpen: open-preview
  21. github:
  22. prebuilds:
  23. # enable for the master/default branch (defaults to true)
  24. master: true
  25. # enable for all branches in this repo (defaults to false)
  26. branches: true
  27. # enable for pull requests coming from this repo (defaults to true)
  28. pullRequests: true
  29. # enable for pull requests coming from forks (defaults to false)
  30. pullRequestsFromForks: true
  31. # add a "Review in Gitpod" button as a comment to pull requests (defaults to true)
  32. addComment: true
  33. # add a "Review in Gitpod" button to pull requests (defaults to false)
  34. addBadge: false
  35. # add a label once the prebuild is ready to pull requests (defaults to false)
  36. addLabel: prebuilt-in-gitpod