parent
7c9fe93402
commit
fcff0ce69f
|
@ -37,7 +37,7 @@ jobs:
|
||||||
|
|
||||||
- uses: './.github/actions/reusable-prepare-peertube-build'
|
- uses: './.github/actions/reusable-prepare-peertube-build'
|
||||||
with:
|
with:
|
||||||
node-version: '18.x'
|
node-version: '20.x'
|
||||||
|
|
||||||
- uses: './.github/actions/reusable-prepare-peertube-run'
|
- uses: './.github/actions/reusable-prepare-peertube-run'
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ jobs:
|
||||||
- uses: './.github/actions/reusable-prepare-peertube-build'
|
- uses: './.github/actions/reusable-prepare-peertube-build'
|
||||||
if: ${{ matrix.build-peertube }}
|
if: ${{ matrix.build-peertube }}
|
||||||
with:
|
with:
|
||||||
node-version: '18.x'
|
node-version: '20.x'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
if: ${{ matrix.build-peertube }}
|
if: ${{ matrix.build-peertube }}
|
||||||
|
|
|
@ -20,7 +20,7 @@ jobs:
|
||||||
|
|
||||||
- uses: './.github/actions/reusable-prepare-peertube-build'
|
- uses: './.github/actions/reusable-prepare-peertube-build'
|
||||||
with:
|
with:
|
||||||
node-version: '18.x'
|
node-version: '20.x'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run nightly
|
run: npm run nightly
|
||||||
|
|
|
@ -24,7 +24,7 @@ jobs:
|
||||||
|
|
||||||
- uses: './.github/actions/reusable-prepare-peertube-build'
|
- uses: './.github/actions/reusable-prepare-peertube-build'
|
||||||
with:
|
with:
|
||||||
node-version: '18.x'
|
node-version: '20.x'
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: npm run build -- --analyze-bundle
|
run: npm run build -- --analyze-bundle
|
||||||
|
|
|
@ -61,7 +61,7 @@ jobs:
|
||||||
|
|
||||||
- uses: './.github/actions/reusable-prepare-peertube-build'
|
- uses: './.github/actions/reusable-prepare-peertube-build'
|
||||||
with:
|
with:
|
||||||
node-version: '18.x'
|
node-version: '20.x'
|
||||||
|
|
||||||
- uses: './.github/actions/reusable-prepare-peertube-run'
|
- uses: './.github/actions/reusable-prepare-peertube-run'
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"licence": "AGPL-3.0",
|
"licence": "AGPL-3.0",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18.x",
|
"node": ">=20.x",
|
||||||
"yarn": ">=1.x"
|
"yarn": ">=1.x"
|
||||||
},
|
},
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
Main dependencies supported by PeerTube:
|
Main dependencies supported by PeerTube:
|
||||||
|
|
||||||
* `node` LTS (>=18.20 or 20.x)
|
* `node` LTS (20.x or 22.x)
|
||||||
* `yarn` 1.x (**must not be >=2.x**)
|
* `yarn` 1.x (**must not be >=2.x**)
|
||||||
* `postgres` >=10.x
|
* `postgres` >=10.x
|
||||||
* `redis-server` >=6.x
|
* `redis-server` >=6.x
|
||||||
|
@ -43,7 +43,7 @@ sudo apt-get install curl sudo unzip vim
|
||||||
|
|
||||||
2. It would be wise to disable root access and to continue this tutorial with a user with sudoers group access. You can see a guide for how to do this in Debian/Ubuntu [here](https://www.digitalocean.com/community/tutorials/how-to-add-and-delete-users-on-ubuntu-20-04).
|
2. It would be wise to disable root access and to continue this tutorial with a user with sudoers group access. You can see a guide for how to do this in Debian/Ubuntu [here](https://www.digitalocean.com/community/tutorials/how-to-add-and-delete-users-on-ubuntu-20-04).
|
||||||
|
|
||||||
3. Install NodeJS 18.x:
|
3. Install NodeJS 20.x:
|
||||||
[https://nodejs.org/en/download/package-manager/all#debian-and-ubuntu-based-linux-distributions](https://nodejs.org/en/download/package-manager/all#debian-and-ubuntu-based-linux-distributions)
|
[https://nodejs.org/en/download/package-manager/all#debian-and-ubuntu-based-linux-distributions](https://nodejs.org/en/download/package-manager/all#debian-and-ubuntu-based-linux-distributions)
|
||||||
4. Install yarn, and be sure to have [a recent version](https://github.com/yarnpkg/yarn/releases/latest):
|
4. Install yarn, and be sure to have [a recent version](https://github.com/yarnpkg/yarn/releases/latest):
|
||||||
[https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab)
|
[https://yarnpkg.com/en/docs/install#linux-tab](https://yarnpkg.com/en/docs/install#linux-tab)
|
||||||
|
@ -90,7 +90,7 @@ sudo systemctl start redis postgresql
|
||||||
|
|
||||||
## CentOS 7
|
## CentOS 7
|
||||||
|
|
||||||
1. Install NodeJS 18.x:
|
1. Install NodeJS 20.x:
|
||||||
[https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux](https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux)
|
[https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux](https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux)
|
||||||
|
|
||||||
2. Install yarn:
|
2. Install yarn:
|
||||||
|
@ -137,7 +137,7 @@ sudo systemctl enable --now postgresql
|
||||||
|
|
||||||
## Centos 8
|
## Centos 8
|
||||||
|
|
||||||
1. Install NodeJS 18.x:
|
1. Install NodeJS 20.x:
|
||||||
[https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux](https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux)
|
[https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux](https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux)
|
||||||
|
|
||||||
2. Install yarn:
|
2. Install yarn:
|
||||||
|
@ -187,9 +187,9 @@ sudo systemctl enable --now postgresql
|
||||||
sudo dnf update -y
|
sudo dnf update -y
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Install NodeJS 18.x:
|
2. Install NodeJS 20.x:
|
||||||
```sh
|
```sh
|
||||||
sudo dnf module install -y nodejs:18
|
sudo dnf module install -y nodejs:20
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Install yarn:
|
3. Install yarn:
|
||||||
|
@ -246,7 +246,7 @@ su my-peertube-user
|
||||||
3. (Optional) Install certbot (choose instructions for your distribution):
|
3. (Optional) Install certbot (choose instructions for your distribution):
|
||||||
[https://certbot.eff.org/all-instructions](https://certbot.eff.org/all-instructions)
|
[https://certbot.eff.org/all-instructions](https://certbot.eff.org/all-instructions)
|
||||||
|
|
||||||
4. Install NodeJS 18.x:
|
4. Install NodeJS 20.x:
|
||||||
[https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux](https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux)
|
[https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux](https://nodejs.org/en/download/package-manager/all#centos-fedora-and-red-hat-enterprise-linux)
|
||||||
|
|
||||||
5. Install yarn:
|
5. Install yarn:
|
||||||
|
@ -339,7 +339,7 @@ echo fs.inotify.max_user_watches=582222 | sudo tee -a /etc/sysctl.conf && sudo s
|
||||||
2. Install Node.JS
|
2. Install Node.JS
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
sudo dnf module install nodejs:18
|
sudo dnf module install nodejs:20
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Install Yarn
|
3. Install Yarn
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM node:18-bookworm-slim
|
FROM node:20-bookworm-slim
|
||||||
|
|
||||||
ARG ALREADY_BUILT=0
|
ARG ALREADY_BUILT=0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue