Skip to content

Commit

Permalink
build: fix gitpod hang [skip ci]
Browse files Browse the repository at this point in the history
Merge pull request ambianic#599 from ivelin/master
  • Loading branch information
Ivelin Ivanov authored Mar 30, 2021
2 parents 34b1bfd + fb6f346 commit 0c523c3
Show file tree
Hide file tree
Showing 2 changed files with 119 additions and 107 deletions.
18 changes: 16 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,26 @@ image:
file: .gitpod.Dockerfile

tasks:
- init: npm --quiet --yes install && npm install cypress && npm audit fix && npm run build
- command: npm run serve
- init: |
npm install
command: |
echo "Starting Ambianic PWA in dev mode"
npm run serve
- command: |
echo "Waiting for npm install to finish"
gp await-port 8080 && gp preview $(gp url 8080)/index.html
echo "Starting Ambianic PWA testsuite"
npm install cypress
npm run test
vscode:
extensions:
- octref.vetur@0.31.3:QHyAEoimIBiRDoL6WtEoRg==

ports:
- port: 8080

github:
prebuilds:
addComment: true

208 changes: 103 additions & 105 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0c523c3

Please sign in to comment.