Skip to content

Conversation

@mmiermans
Copy link
Contributor

@mmiermans mmiermans commented Apr 11, 2024

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.

    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY [...]

QA

Local

Run npm run start:dev

Dev

@mmiermans mmiermans requested a review from a team as a code owner April 11, 2024 02:42
@mmiermans mmiermans force-pushed the mc-942-upgrade-node branch from 6e75abe to 76314de Compare April 11, 2024 02:59
@@ -1,4 +1,4 @@
FROM node:18-slim@sha256:0a621cdd7d66ad8976f4246ab0661e3b1dd0d397c1dd784ea01bf740bd1c2522
FROM node:18@sha256:332838eb5ed61f24f5f68e3e465453d82ea8cd8870d9875325f20706880ae9fc
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Node docs:

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
Copy link
Contributor Author

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.

@mmiermans mmiermans requested a review from nina-py April 11, 2024 03:07
"scripts": {
"build": "rm -rf dist && tsc",
"codegen": "npm run codegen:graphql-types && npm run codegen:openapi-types",
"codegen": "npm run codegen:graphql-types",
Copy link
Contributor

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

Copy link
Contributor Author

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.

@mmiermans mmiermans merged commit fd6fae4 into main Apr 11, 2024
@nina-py nina-py mentioned this pull request May 28, 2024
3 tasks
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.

3 participants