Skip to content

Commit

Permalink
chore(release): Avoid updating npm in php-dev stage πŸ§‘β€πŸ«
Browse files Browse the repository at this point in the history
Rationale: there is no way to update npm to the max version supported by node.
  • Loading branch information
gremo committed Oct 23, 2023
1 parent 32a23ce commit be97fc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@ RUN \
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_VERSION.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list; \
apt-get update; \
apt-get install -y --no-install-recommends nodejs; \
npm update -g npm; \
npm install -g yarn; \
# Cleanup
rm -rf /root/.npm; \
Expand Down
4 changes: 4 additions & 0 deletions UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Upgrade

## `0.4.0` to `0.4.1`

Remove `npm update -g npm` from `Dockerfile`.

## `0.3.x` to `0.4.0`

To prevent issues with Linux, change
Expand Down

0 comments on commit be97fc2

Please sign in to comment.