aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-09 10:00:52 +0200
committerChocobozzz <me@florianbigard.com>2023-05-09 10:02:54 +0200
commit902b16af033b29363b4198836165fdbedd7addcf (patch)
tree69f67e8ea3b5a7eb50c4db468f630b46e2b2d2d7
parent1c7fbce4fa817cdbb873a2bcb8af379bcba0edc9 (diff)
downloadPeerTube-902b16af033b29363b4198836165fdbedd7addcf.tar.gz
PeerTube-902b16af033b29363b4198836165fdbedd7addcf.tar.zst
PeerTube-902b16af033b29363b4198836165fdbedd7addcf.zip
Breaking: remove node 14 support
-rw-r--r--.github/workflows/benchmark.yml2
-rw-r--r--.github/workflows/nightly.yml2
-rw-r--r--.github/workflows/test.yml2
-rw-r--r--packages/peertube-runner/package.json3
-rwxr-xr-xscripts/build/peertube-runner.sh2
5 files changed, 6 insertions, 5 deletions
diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml
index 2566f5ba8..ab1780c74 100644
--- a/.github/workflows/benchmark.yml
+++ b/.github/workflows/benchmark.yml
@@ -35,7 +35,7 @@ jobs:
35 35
36 - uses: './.github/actions/reusable-prepare-peertube-build' 36 - uses: './.github/actions/reusable-prepare-peertube-build'
37 with: 37 with:
38 node-version: '14.x' 38 node-version: '16.x'
39 39
40 - uses: './.github/actions/reusable-prepare-peertube-run' 40 - uses: './.github/actions/reusable-prepare-peertube-run'
41 41
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
index 0bb685ff1..bb1f27a6b 100644
--- a/.github/workflows/nightly.yml
+++ b/.github/workflows/nightly.yml
@@ -18,7 +18,7 @@ jobs:
18 18
19 - uses: './.github/actions/reusable-prepare-peertube-build' 19 - uses: './.github/actions/reusable-prepare-peertube-build'
20 with: 20 with:
21 node-version: '14.x' 21 node-version: '16.x'
22 22
23 - name: Build 23 - name: Build
24 run: npm run nightly 24 run: npm run nightly
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 678b0674b..407907e53 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -55,7 +55,7 @@ jobs:
55 55
56 - uses: './.github/actions/reusable-prepare-peertube-build' 56 - uses: './.github/actions/reusable-prepare-peertube-build'
57 with: 57 with:
58 node-version: '14.x' 58 node-version: '16.x'
59 59
60 - uses: './.github/actions/reusable-prepare-peertube-run' 60 - uses: './.github/actions/reusable-prepare-peertube-run'
61 61
diff --git a/packages/peertube-runner/package.json b/packages/peertube-runner/package.json
index dde0e2d62..d2c9be880 100644
--- a/packages/peertube-runner/package.json
+++ b/packages/peertube-runner/package.json
@@ -1,7 +1,8 @@
1{ 1{
2 "name": "peertube-runner", 2 "name": "peertube-runner",
3 "version": "1.0.0", 3 "version": "0.0.1",
4 "main": "dist/peertube-runner.js", 4 "main": "dist/peertube-runner.js",
5 "bin": "dist/peertube-runner.js",
5 "license": "AGPL-3.0", 6 "license": "AGPL-3.0",
6 "dependencies": {}, 7 "dependencies": {},
7 "devDependencies": { 8 "devDependencies": {
diff --git a/scripts/build/peertube-runner.sh b/scripts/build/peertube-runner.sh
index 9c326747b..7f6ad5ede 100755
--- a/scripts/build/peertube-runner.sh
+++ b/scripts/build/peertube-runner.sh
@@ -10,4 +10,4 @@ rm -rf ./dist
10rm -rf ./dist 10rm -rf ./dist
11mkdir ./dist 11mkdir ./dist
12 12
13./node_modules/.bin/esbuild ./peertube-runner.ts --bundle --platform=node --target=node14 --external:"./lib-cov/fluent-ffmpeg" --external:pg-hstore --outfile=dist/peertube-runner.js 13./node_modules/.bin/esbuild ./peertube-runner.ts --bundle --platform=node --target=node16 --external:"./lib-cov/fluent-ffmpeg" --external:pg-hstore --outfile=dist/peertube-runner.js