-
Notifications
You must be signed in to change notification settings - Fork 28
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
chore: update to node v20 #871
Conversation
|
efafe2a
to
66477fd
Compare
@@ -58,7 +58,7 @@ jobs: | |||
|
|||
strategy: | |||
matrix: | |||
node-version: [18.x, 20.x] | |||
node-version: [18.x, 20.x, 22.x] |
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.
22 is not yet an active LTS, I'd say we make it optional for now. For this, add it to the 'include' instead
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.
Node v22 will be lts in about 3 months. The docker image running the thing `From:node-alpine` actually has node v22 preinstalled. Andrés RodríguezOn 13. Jun 2024, at 10:35, Raphael Flechtner ***@***.***> wrote:
@rflechtner commented on this pull request.
In .github/workflows/tests-polkadot-deps.yml:
@@ -58,7 +58,7 @@ jobs:
strategy:
matrix:
- node-version: [18.x, 20.x]
+ node-version: [18.x, 20.x, 22.x]
22 is not yet an active LTS, I'd say we make it optional for now. For this, add it to the 'include'
In .github/workflows/tests.yml:
@@ -80,7 +80,7 @@ jobs:
strategy:
matrix:
- node-version: [18, 20]
+ node-version: [18, 20, 22]
same here
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
For some reason. If the node v22 is optional, an integration test fails. If it required, it passes. |
@kilted-andres as far as I could see, the error you were getting is unrelated to making Node 22 optional or not. It seems to be some sort of concurrency issue in the tests. I would suggest the following: update the PR to make Node 22 optional. If the integration tests fail, re-run only those again from the GitHub UI, then it should be good to go. |
@ntn-x2 :
I tried that before "reverting" it. |
2584e77
to
ada4a74
Compare
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.
LGTM now
* chore: replace all uses of tx.balances.transfer() (#903) * ci: run tests on prs to v0-lts * ci: update actions (backport of #871) * fix: update playwright dep * fix: rename Docker image (#902) * chore: pull image via ecr pull cache (#921) --------- Co-authored-by: Andrés <105802444+kilted-andres@users.noreply.github.com> Co-authored-by: Antonio <antonio@kilt.io> Co-authored-by: Gerawork Aynekulu <ggera@users.noreply.github.com>
fixes part of KILTProtocol/ticket#3081
package.json
specifiesyarn
version..nvmrc
tolts/Iron
.For this following must be set:
actions/checkout@v4
actions/setup-node@v4
with: eitherpackage.json
' or '.nvmrc
''
<Node.js version using SemVer or aliases >'
actions/download-artifact@v4
actions/cache@v4
aws-actions/configure-aws-credentials@v4
aws-actions/amazon-ecr-login@v2
This means that the following must be set:
FROM node:20-alpine as builder
It also updates dependencies: mostly to latest minor, but major for ones with complains.Dropped.