1
0
Fork 0

Breaking: remove node 14 support

This commit is contained in:
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'
with:
node-version: '14.x'
node-version: '16.x'
- uses: './.github/actions/reusable-prepare-peertube-run'

View 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

View 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'

View 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": {

View file

@ -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