File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
local-features/setup-user Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1919
2020 - name : Checkout
2121 id : checkout
22- uses : actions/checkout@v3
22+ uses : actions/checkout@v3
2323
2424 - name : Smoke test
2525 id : smoke_test
Original file line number Diff line number Diff line change 1818 "version" : " latest"
1919 },
2020 "ghcr.io/devcontainers/features/node:1" : {
21- "version" : " 20 " ,
22- "additionalVersions" : " 18 "
21+ "version" : " 22 " ,
22+ "additionalVersions" : " 20 "
2323 },
2424 "./local-features/nvs" : " latest" ,
2525 "ghcr.io/devcontainers/features/python:1" : {
3939 "version" : " latest"
4040 },
4141 "ghcr.io/devcontainers/features/ruby:1" : {
42- "version" : " 3.3.4 " ,
43- "additionalVersions" : " 3.3.2 "
42+ "version" : " 3.4.1 " ,
43+ "additionalVersions" : " 3.3.6 "
4444 },
4545 "ghcr.io/devcontainers/features/java:1" : {
4646 "version" : " 21" ,
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ find "${OPT_DIR}" -type d | xargs -n 1 chmod g+s
9292echo " Defaults secure_path=\" ${DOTNET_PATH} :${NODE_PATH} /bin:${PHP_PATH} /bin:${PYTHON_PATH} /bin:${JAVA_PATH} /bin:${RUBY_PATH} /bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/share:/home/${USERNAME} /.local/bin:${PATH} \" " >> /etc/sudoers.d/$USERNAME
9393
9494# Temporary: Due to GHSA-c2qf-rxjj-qqgw
95- bash -c " . /usr/local/share/nvm/nvm.sh && nvm use 18 "
95+ bash -c " . /usr/local/share/nvm/nvm.sh && nvm use 22 "
9696bash -c " npm -g install -g npm@9.8.1"
9797bash -c " . /usr/local/share/nvm/nvm.sh && nvm use stable"
9898
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ expectedCount=2
9797checkVersionCount " two versions of node are present" $count $expectedCount
9898echo $( echo " node versions" && ls -a /usr/local/share/nvm/versions/node)
9999checkBundledNpmVersion " default" " 9.8.0"
100- checkBundledNpmVersion " 18 " " 9.8.1"
100+ checkBundledNpmVersion " 22 " " 9.8.1"
101101
102102# PHP
103103check " php" php --version
@@ -138,7 +138,7 @@ check "RAILS_DEVELOPMENT_HOSTS is set correctly" echo $RAILS_DEVELOPMENT_HOSTS |
138138check " oryx" oryx --version
139139
140140# Ensures nvm works in a Node Project
141- check " default-node-version" bash -c " node --version | grep 20 ."
141+ check " default-node-version" bash -c " node --version | grep 22 ."
142142check " default-node-location" bash -c " which node | grep /home/codespace/nvm/current/bin"
143143check " oryx-build-node-projectr" bash -c " oryx build ./sample/node"
144144check " oryx-configured-current-node-version" bash -c " ls -la /home/codespace/nvm/current | grep /opt/nodejs"
You can’t perform that action at this time.
0 commit comments