Skip to content

Commit

Permalink
Merge pull request #38 from the-draupnir-project/MTRNord/update-node-…
Browse files Browse the repository at this point in the history
…version-dependency

Bump Draupnir and repo to require node 20
  • Loading branch information
MTRNord authored Oct 10, 2024
2 parents 1615c57 + aa59512 commit 69e170a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docs/bot/setup_debian.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ 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_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
```
Expand Down
2 changes: 1 addition & 1 deletion docs/bot/setup_selfbuild.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
]
},
"engines": {
"node": ">=18.0"
"node": ">=20.0"
}
}

0 comments on commit 69e170a

Please sign in to comment.