Skip to content

Commit

Permalink
Merge pull request #37 from nhsuk/setup-gitpod-config
Browse files Browse the repository at this point in the history
Add .gitpod.yml
  • Loading branch information
the-nathan-smith authored May 24, 2023
2 parents d9e770d + 6594493 commit 47a1f84
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/
tasks:
- init: npm install # runs during prebuild
command: npm start

github:
prebuilds:
# enable for the 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 check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
addBadge: false

# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
ports:
- port: 3000
onOpen: open-preview

0 comments on commit 47a1f84

Please sign in to comment.