mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
chore(gitpod): update gitpod node version (#51984)
Co-authored-by: Naomi Carrigan <nhcarrigan@gmail.com>
This commit is contained in:
co-authored by
Naomi Carrigan
parent
39f078f043
commit
f3d16abc80
Vendored
+2
-2
@@ -1,9 +1,9 @@
|
||||
FROM gitpod/workspace-mongodb:latest
|
||||
|
||||
# from https://www.gitpod.io/docs/introduction/languages/javascript#node-versions
|
||||
RUN bash -c 'VERSION="18" \
|
||||
RUN bash -c 'VERSION="20" \
|
||||
&& source $HOME/.nvm/nvm.sh && nvm install $VERSION \
|
||||
&& nvm use $VERSION && nvm alias default $VERSION \
|
||||
&& npm i -g pnpm@8.6'
|
||||
&& npm i -g pnpm@8.9'
|
||||
|
||||
RUN echo "nvm use default &>/dev/null" >> ~/.bashrc.d/51-nvm-fix
|
||||
|
||||
Reference in New Issue
Block a user