Skip to content

Commit

Permalink
perf(nodejs engine): update from nodejs 14 to 18
Browse files Browse the repository at this point in the history
affects: @joystream/bn-typeorm, @joystream/hydra-cli, @joystream/hydra-common,
@joystream/hydra-db-utils, @joystream/hydra-e2e-tests, @joystream/hydra-indexer-gateway,
@joystream/hydra-indexer, @joystream/hydra-processor, @joystream/hydra-typegen, sample,
sample-mappings

nodejs 14 is no longer supported. v18 is now recommended for security and performance reasons
  • Loading branch information
mnaamani committed Sep 14, 2023
1 parent db6b2d4 commit 4aea9d8
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/hydra-e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/hydra-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
node-version: [18.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14-alpine
FROM node:18

# TODO: optimize this
#
Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,9 @@
"commitizen": {
"path": "cz-lerna-changelog"
}
},
"volta": {
"node": "18.6.0",
"yarn": "1.22.19"
}
}
4 changes: 4 additions & 0 deletions packages/hydra-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,5 +104,9 @@
"temp": "^0.9.1",
"ts-node": "^10.2.1",
"typescript": "4.4.2"
},
"volta": {
"node": "18.6.0",
"yarn": "1.22.19"
}
}
4 changes: 4 additions & 0 deletions packages/hydra-typegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,9 @@
"ts-node": "^10.2.1",
"ts-node-dev": "^1.0.0-pre.40",
"typescript": "4.4.2"
},
"volta": {
"node": "18.6.0",
"yarn": "1.22.19"
}
}

0 comments on commit 4aea9d8

Please sign in to comment.