Breaking: remove node 14 support

pull/5593/head
Chocobozzz 2023-05-09 10:00:52 +02:00
parent 1c7fbce4fa
commit 902b16af03
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
5 changed files with 6 additions and 5 deletions

View File

@ -35,7 +35,7 @@ jobs:
- uses: './.github/actions/reusable-prepare-peertube-build' - uses: './.github/actions/reusable-prepare-peertube-build'
with: with:
node-version: '14.x' node-version: '16.x'
- uses: './.github/actions/reusable-prepare-peertube-run' - uses: './.github/actions/reusable-prepare-peertube-run'

View File

@ -18,7 +18,7 @@ jobs:
- uses: './.github/actions/reusable-prepare-peertube-build' - uses: './.github/actions/reusable-prepare-peertube-build'
with: with:
node-version: '14.x' node-version: '16.x'
- name: Build - name: Build
run: npm run nightly run: npm run nightly

View File

@ -55,7 +55,7 @@ jobs:
- uses: './.github/actions/reusable-prepare-peertube-build' - uses: './.github/actions/reusable-prepare-peertube-build'
with: with:
node-version: '14.x' node-version: '16.x'
- uses: './.github/actions/reusable-prepare-peertube-run' - uses: './.github/actions/reusable-prepare-peertube-run'

View File

@ -1,7 +1,8 @@
{ {
"name": "peertube-runner", "name": "peertube-runner",
"version": "1.0.0", "version": "0.0.1",
"main": "dist/peertube-runner.js", "main": "dist/peertube-runner.js",
"bin": "dist/peertube-runner.js",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"dependencies": {}, "dependencies": {},
"devDependencies": { "devDependencies": {

View File

@ -10,4 +10,4 @@ rm -rf ./dist
rm -rf ./dist rm -rf ./dist
mkdir ./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