Skip to content

Commit 1110475

Browse files
[Gitpod] update config to use node 14
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]>
1 parent f3fcad9 commit 1110475

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.gitpod.dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ RUN sudo apt-get update \
1313
&& sudo apt-get install -y libx11-dev libxkbfile-dev \
1414
&& sudo rm -rf /var/lib/apt/lists/*
1515

16-
ENV NODE_VERSION="12.14.1"
16+
ENV NODE_VERSION="14"
1717
RUN bash -c ". .nvm/nvm.sh \
1818
&& nvm install $NODE_VERSION \
1919
&& nvm use $NODE_VERSION \

.gitpod.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ ports:
1212
- port: 9339 # Node.js debug port
1313
onOpen: ignore
1414
tasks:
15-
- init: yarn --network-timeout 100000 && yarn electron package:preview && yarn electron package
15+
- init: yarn --network-timeout 100000
1616
command: >
1717
jwm &
18-
gp open /workspace/theia-blueprint/applications/electron/dist/latest-linux.yml
18+
yarn electron start
1919
2020
github:
2121
prebuilds:

0 commit comments

Comments
 (0)