Skip to content

Commit

Permalink
[Gitpod] update config to use node 14
Browse files Browse the repository at this point in the history
I find Gitpod is useful for quickly testing some PRs. ATM the node version
used is not compatible with Theia and so the build fails. This commit updates
the config to use node 14.

Also start the electron version of Blueprint when the build is done. It's
accessible from the Ports view (bottom bar) by selecting "open browser"
in line with "port 6080".

Signed-off-by: Marc Dumais <[email protected]>
  • Loading branch information
marcdumais-work committed Nov 3, 2022
1 parent f3fcad9 commit 1110475
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitpod.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN sudo apt-get update \
&& sudo apt-get install -y libx11-dev libxkbfile-dev \
&& sudo rm -rf /var/lib/apt/lists/*

ENV NODE_VERSION="12.14.1"
ENV NODE_VERSION="14"
RUN bash -c ". .nvm/nvm.sh \
&& nvm install $NODE_VERSION \
&& nvm use $NODE_VERSION \
Expand Down
4 changes: 2 additions & 2 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ ports:
- port: 9339 # Node.js debug port
onOpen: ignore
tasks:
- init: yarn --network-timeout 100000 && yarn electron package:preview && yarn electron package
- init: yarn --network-timeout 100000
command: >
jwm &
gp open /workspace/theia-blueprint/applications/electron/dist/latest-linux.yml
yarn electron start
github:
prebuilds:
Expand Down

0 comments on commit 1110475

Please sign in to comment.