Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Node to version 14 #1036

Merged
merged 3 commits into from
Apr 18, 2024
Merged

Update Node to version 14 #1036

merged 3 commits into from
Apr 18, 2024

Conversation

lumaxis
Copy link
Contributor

@lumaxis lumaxis commented Apr 4, 2024

While being far from current, Node 14 is the latest version we can use without having to make further updates to dependencies or code. The changes in this PR don't cause any build errors so it'd be an easy step to get us at least a little closer to running a still-supported version.

Copy link

netlify bot commented Apr 4, 2024

Deploy Preview for blissful-goodall-fa23f6 ready!

Name Link
🔨 Latest commit 990e91d
🔍 Latest deploy log https://app.netlify.com/sites/blissful-goodall-fa23f6/deploys/661fe6a79c7c790008f3ffc4
😎 Deploy Preview https://deploy-preview-1036--blissful-goodall-fa23f6.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

COPY . /opt/website
WORKDIR /opt/website
ARG REACT_APP_SERVER=http://localhost:4000
ARG REACT_APP_GA_TRACKINGID
RUN apk add --no-cache git
RUN npm install -g npm@9
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason to use npm v9? package-lock.json has "lockfileVersion": 1

Copy link
Contributor Author

@lumaxis lumaxis Apr 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's significantly faster! ⚡
Compare ~7 minutes on the old version vs. 47s on npm 9
(Both Node 10 and 14 come bundled with npm 6.14.12)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

COPY . /opt/website
WORKDIR /opt/website
ARG REACT_APP_SERVER=http://localhost:4000
ARG REACT_APP_GA_TRACKINGID
RUN apk add --no-cache git
RUN npm install -g npm@9
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@lumaxis lumaxis merged commit 4a881b7 into master Apr 18, 2024
6 checks passed
@elrayle elrayle deleted the update-node branch May 6, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants