update release pipeline
Some checks failed
Bump deps (only minor versions) / ci (push) Has been cancelled

This commit is contained in:
0d0 2025-02-23 01:32:53 +01:00
parent 6a731be767
commit bf92e60d2b

View file

@ -21,12 +21,22 @@ jobs:
with: with:
node-version: '20' node-version: '20'
- name: Update deps, install them (to change package-lock.json) and commit
run: |
apt-get update
apt-get install -y jq
- name: Prepare, Check, Lint and Format - name: Prepare, Check, Lint and Format
run: | run: |
npm install npm install
touch .env
echo "HOST=0.0.0.0" >> .env
echo "ORIGIN=https://dl.emersa.it" >> .env
echo "YTDLP_PATH=./yt-dlp" >> .env
echo "PUBLIC_VERSION=$(cat package.json | jq .version)"
npm run build npm run build
cp .env.example build/.env
cp package* build/ cp package* build/
cp .env build/
mkdir releases mkdir releases
tar czvf releases/build.tar.gz build/ tar czvf releases/build.tar.gz build/