]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Breaking: remove node 14 support
authorChocobozzz <me@florianbigard.com>
Tue, 9 May 2023 08:00:52 +0000 (10:00 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 9 May 2023 08:02:54 +0000 (10:02 +0200)
.github/workflows/benchmark.yml
.github/workflows/nightly.yml
.github/workflows/test.yml
packages/peertube-runner/package.json
scripts/build/peertube-runner.sh

index 2566f5ba86f9f713eb4bfd3aed47f6ae2a1bef22..ab1780c7407a0d0264ec438ff53fdfd75f52a162 100644 (file)
@@ -35,7 +35,7 @@ jobs:
 
       - uses: './.github/actions/reusable-prepare-peertube-build'
         with:
-          node-version: '14.x'
+          node-version: '16.x'
 
       - uses: './.github/actions/reusable-prepare-peertube-run'
 
index 0bb685ff1d7f1b64a434b6ffe46dc94378a2e43f..bb1f27a6b3f41abd1a0a38676e908ae4ac04ff64 100644 (file)
@@ -18,7 +18,7 @@ jobs:
 
       - uses: './.github/actions/reusable-prepare-peertube-build'
         with:
-          node-version: '14.x'
+          node-version: '16.x'
 
       - name: Build
         run: npm run nightly
index 678b0674bc24c3cd4396817d9a7be3812cc1b54d..407907e53647a6831f879a929f82e6ea9223e9ee 100644 (file)
@@ -55,7 +55,7 @@ jobs:
 
       - uses: './.github/actions/reusable-prepare-peertube-build'
         with:
-          node-version: '14.x'
+          node-version: '16.x'
 
       - uses: './.github/actions/reusable-prepare-peertube-run'
 
index dde0e2d62118eedc095fac843a47724392684996..d2c9be88006747e414851ccb3e42a92ed1b3d65e 100644 (file)
@@ -1,7 +1,8 @@
 {
   "name": "peertube-runner",
-  "version": "1.0.0",
+  "version": "0.0.1",
   "main": "dist/peertube-runner.js",
+  "bin": "dist/peertube-runner.js",
   "license": "AGPL-3.0",
   "dependencies": {},
   "devDependencies": {
index 9c326747bac0c3d5165bc4c1b85579b0d33070a3..7f6ad5eded56745ac70977a8c19f8a7f570d0b48 100755 (executable)
@@ -10,4 +10,4 @@ rm -rf ./dist
 rm -rf ./dist
 mkdir ./dist
 
-./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
+./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