Skip to content

Commit

Permalink
Use Node.js 22 (LTS)
Browse files Browse the repository at this point in the history
Node.js 22 was released back in April and will soon be LTS.

See https://github.com/nodejs/Release.
  • Loading branch information
sevein authored and jraddaoui committed Oct 14, 2024
1 parent 3d1733a commit 2cc4b26
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3.8.1
- uses: actions/setup-node@v4.0.4
with:
node-version: 18.x
node-version: 22
- run: npm ci
working-directory: ./dashboard
- run: npm run test
Expand Down
14 changes: 7 additions & 7 deletions dashboard/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@types/bootstrap": "^5.2.10",
"@types/jsdom": "^21.1.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^20.16.5",
"@types/node": "^22.7.5",
"@vitejs/plugin-vue": "^5.1.3",
"@vitest/coverage-v8": "^2.0.5",
"@vue-macros/reactivity-transform": "^1.0.4",
Expand Down
6 changes: 3 additions & 3 deletions docs/src/dev-manual/devel.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ to your `etc/hosts` file located like `C:/Windows/System32/drivers/etc/hosts`.
## Requirements for development

While we run the services inside a Kubernetes cluster we recomend to install
Go, Node and other tools locally to ease the development process.
Go, Node.js and other tools locally to ease the development process.

- [Go] (1.21+)
- [NPM and Node] (18+)
- [Node.js and npm] (22+)
- GNU [Make] and [GCC]

If using Linux, Node.js binary distributions are available from [NodeSource].
Expand Down Expand Up @@ -256,7 +256,7 @@ is sometimes not setup properly. To solve it, from the Tilt UI, restart the
[manage docker as a non-root user]: https://docs.docker.com/engine/install/linux-postinstall/#manage-docker-as-a-non-root-user
[tilt ui]: https://docs.tilt.dev/tutorial/3-tilt-ui.html
[go]: https://go.dev/doc/install
[npm and node]: https://nodejs.org/
[Node.js and npm]: https://nodejs.org/
[nodesource]: https://github.com/nodesource/distributions
[make]: https://www.gnu.org/software/make/
[gcc]: https://gcc.gnu.org/
Expand Down

0 comments on commit 2cc4b26

Please sign in to comment.