From 53764dd1c505dbab1bb5d0581ffe763ad07910d8 Mon Sep 17 00:00:00 2001 From: MTRNord Date: Thu, 10 Oct 2024 11:49:20 +0200 Subject: [PATCH 1/2] Bump to node 20 --- .github/workflows/deploy.yml | 2 +- .github/workflows/test-deploy.yml | 2 +- docs/bot/setup_debian.md | 2 +- docs/bot/setup_selfbuild.md | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ebdb805..de1716a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,7 +17,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn - name: Install dependencies diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index c22bcea..47f95dc 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -17,7 +17,7 @@ jobs: fetch-depth: 0 - uses: actions/setup-node@v4 with: - node-version: 18 + node-version: 20 cache: yarn - name: Install dependencies diff --git a/docs/bot/setup_debian.md b/docs/bot/setup_debian.md index fceb614..3661cff 100644 --- a/docs/bot/setup_debian.md +++ b/docs/bot/setup_debian.md @@ -18,7 +18,7 @@ apt update && apt install -y git curl sudo ``` install node 18 from the node source repo, the full instructions can be found at https://github.com/nodesource/distributions ```shell -curl -fsSL https://deb.nodesource.com/setup_18.x -o nodesource_setup.sh +curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh bash nodesource_setup.sh apt update && apt install nodejs -y ``` diff --git a/docs/bot/setup_selfbuild.md b/docs/bot/setup_selfbuild.md index f91c015..ecbc3e5 100644 --- a/docs/bot/setup_selfbuild.md +++ b/docs/bot/setup_selfbuild.md @@ -19,7 +19,7 @@ This guide is meant to be read in conjunction with [Draupnir parameters and opti ::: These instructions are to build and run draupnir without using [Docker](./setup_docker.md). -You need to have installed `yarn` 1.x and Node 18. +You need to have installed `yarn` 1.x and Node 20. ```bash git clone https://github.com/the-draupnir-project/Draupnir.git diff --git a/package.json b/package.json index 5166020..5f495bf 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,6 @@ ] }, "engines": { - "node": ">=18.0" + "node": ">=20.0" } } From aa5951204b480cfe457e3321c677cf5916898f23 Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 10 Oct 2024 11:59:29 +0200 Subject: [PATCH 2/2] Update node version in docs/bot/setup_debian.md Co-authored-by: Gnuxie <50846879+Gnuxie@users.noreply.github.com> --- docs/bot/setup_debian.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/bot/setup_debian.md b/docs/bot/setup_debian.md index 3661cff..91e7fbd 100644 --- a/docs/bot/setup_debian.md +++ b/docs/bot/setup_debian.md @@ -16,7 +16,7 @@ install git curl and sudo ```shell apt update && apt install -y git curl sudo ``` -install node 18 from the node source repo, the full instructions can be found at https://github.com/nodesource/distributions +install node 20 from the node source repo, the full instructions can be found at https://github.com/nodesource/distributions ```shell curl -fsSL https://deb.nodesource.com/setup_20.x -o nodesource_setup.sh bash nodesource_setup.sh