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

feat: Updating to the latest minor version of node 18. #7787

Conversation

nikskiz
Copy link

@nikskiz nikskiz commented Sep 20, 2023

feat: Updating to the latest minor version of node 18. This includes an update to npm version 9.8.1. Compatibility between node and npm sourced from https://nodejs.org/en/download/releases

…ate to npm version 9.8.1. Compatibility between node and npm sourced from https://nodejs.org/en/download/releases
@changeset-bot
Copy link

changeset-bot bot commented Sep 20, 2023

⚠️ No Changeset found

Latest commit: 1c75e17

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@netlify
Copy link

netlify bot commented Sep 20, 2023

Deploy Preview for car-park-attendant-cleat-11576 ready!

Name Link
🔨 Latest commit 1c75e17
🔍 Latest deploy log https://app.netlify.com/sites/car-park-attendant-cleat-11576/deploys/650a3989fcd5450008abbb78
😎 Deploy Preview https://deploy-preview-7787--car-park-attendant-cleat-11576.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.


# this package is used for snapcraft and we should not clear apt list - to avoid apt-get update during snap build
RUN curl -L https://nodejs.org/dist/v$NODE_VERSION/node-v$NODE_VERSION-linux-x64.tar.gz | tar xz -C /usr/local --strip-components=1 && \
unlink /usr/local/CHANGELOG.md && unlink /usr/local/LICENSE && unlink /usr/local/README.md && \
# https://github.com/npm/npm/issues/4531
echo "unsafe-perm true" > .npmrc
RUN npm i -g pnpm@8.6.10
RUN npm i -g pnpm@9.8.1s
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is the s in the version intentional or a mistype?

Also, if we're updating the pnpm version in our Dockerfiles, then we also need to update the pnpm versions specified here, otherwise unit tests won't pass
https://github.com/electron-userland/electron-builder/blob/master/package.json#L78
https://github.com/electron-userland/electron-builder/blob/master/.github/actions/pretest/action.yml#L13
https://github.com/electron-userland/electron-builder/blob/master/.github/actions/pnpm/action.yml#L7

With the updated pnpm version, I think the lockfile needs to be updated as well via pnpm i? :)

Alternatively, you could just update the ARG NODE_VERSION in this PR and not the pnpm version and I could take care of the rest

@mmaietta
Copy link
Collaborator

Closing in favor of #7824

@mmaietta mmaietta closed this Oct 14, 2023
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