-
Notifications
You must be signed in to change notification settings - Fork 0
fix: upgrade Node to the latest on the 18 release line #72
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
Conversation
6e75abe to
76314de
Compare
| @@ -1,4 +1,4 @@ | |||
| FROM node:18-slim@sha256:0a621cdd7d66ad8976f4246ab0661e3b1dd0d397c1dd784ea01bf740bd1c2522 | |||
| FROM node:18@sha256:332838eb5ed61f24f5f68e3e465453d82ea8cd8870d9875325f20706880ae9fc | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless you are working in an environment where only the node image will be deployed and you have space constraints, we highly recommend using the default image of this repository.
| description: Run spec tests | ||
| docker: | ||
| - image: cimg/node:18@sha256:45826c38fb365c2848f3f595443b3086b1df4256d659b380bb9b666141eceadd | ||
| - image: cimg/node:18.20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this change fixed the NO_PUBKEY errors in CI.
| "scripts": { | ||
| "build": "rm -rf dist && tsc", | ||
| "codegen": "npm run codegen:graphql-types && npm run codegen:openapi-types", | ||
| "codegen": "npm run codegen:graphql-types", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is a combined job to run both scripts not needed any more? I think it's used by a pre-commit hook
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot to add an item under 'additional changes':
pre-commit failed on the OpenAPI validation, so I disabled that. I created MC-952 in the maintenance backlog to turn this back on.
Goal
MC-942 Update Node to the latest version on the v20.x release line.
Additional changes
pre-commit failed on the OpenAPI validation, so I disabled that. I created MC-952 in the maintenance backlog to turn this back on.
To resolve an error during
apt-get update, I changed the CI image to the latest of 18, and switched to the default Node image.QA
Local
Run
npm run start:devDev