From: Chocobozzz Date: Tue, 9 May 2023 08:00:52 +0000 (+0200) Subject: Breaking: remove node 14 support X-Git-Tag: v5.2.0-rc.1~176 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=902b16af033b29363b4198836165fdbedd7addcf;p=github%2FChocobozzz%2FPeerTube.git Breaking: remove node 14 support --- 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: - uses: './.github/actions/reusable-prepare-peertube-build' with: - node-version: '14.x' + node-version: '16.x' - uses: './.github/actions/reusable-prepare-peertube-run' 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: - uses: './.github/actions/reusable-prepare-peertube-build' with: - node-version: '14.x' + node-version: '16.x' - name: Build 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: - uses: './.github/actions/reusable-prepare-peertube-build' with: - node-version: '14.x' + node-version: '16.x' - uses: './.github/actions/reusable-prepare-peertube-run' 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 @@ { "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": { 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 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