Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/javascript-node/.devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ ARG NPM_GLOBAL=/usr/local/share/npm-global
# Add NPM global to PATH.
ENV PATH=${NPM_GLOBAL}/bin:${PATH}

# [Temporal] Bump npm version due to GHSA-c2qf-rxjj-qqgw
RUN npm install -g npm@9.8.1

RUN \
# Configure global npm install location, use group to adapt to UID/GID changes
if ! cat /etc/group | grep -e "^npm:" > /dev/null 2>&1; then groupadd -r npm; fi \
Expand Down
2 changes: 2 additions & 0 deletions src/javascript-node/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ checkCommon

# Image specific tests
check "node" node --version
npm_version=$(npm --version)
check-version-ge "npm-requirement" "${npm_version}" "9.8.1"
sudo rm -f yarn.lock
check "yarn" yarn install
sudo rm -f package-lock.json
Expand Down