Self-hosted spotify downloader
TypeScript
chore(auto-update): change ytdl lib chekcing in github actions
raiper34e36e8cd8192a
diff --git a/.github/workflows/update-ytdl.yml b/.github/workflows/update-ytdl.ymlindex e00c29c..683b38d 100644--- a/.github/workflows/update-ytdl.yml+++ b/.github/workflows/update-ytdl.yml@@ -24,7 +24,8 @@ jobs:run: docker buildx create --name container --driver=docker-container- name: Update @distube/ytdl-core and releaserun: |- npm update @distube/ytdl-core -w backend+ npm ci --only=dev+ npm run check:libif git diff --exit-code; thenecho "NO changes detected"else@@ -32,7 +33,6 @@ jobs:git config --global user.name "AutoUpdater"git add .git commit -m "fix(ytdl): Upgrade ytdl package (automated)"- npm ci --only=devnpm run release -- --clifienv:diff --git a/package-lock.json b/package-lock.jsonindex 63a3cbb..ec27a41 100644--- a/package-lock.json+++ b/package-lock.json@@ -19,6 +19,7 @@"cz-conventional-changelog": "^3.3.0","docsify-cli": "^4.4.4","netlify-cli": "^10.5.1",+ "npm-check-updates": "^17.1.15","release-it": "^18.1.2","release-it-docker-plugin": "^1.0.0","rimraf": "^6.0.1"@@ -25597,6 +25598,20 @@"node": "^18.17.0 || >=20.5.0"}},+ "node_modules/npm-check-updates": {+ "version": "17.1.15",+ "resolved": "https://registry.npmjs.org/npm-check-updates/-/npm-check-updates-17.1.15.tgz",+ "integrity": "sha512-miATvKu5rjec/1wxc5TGDjpsucgtCHwRVZorZpDkS6NzdWXfnUWlN4abZddWb7XSijAuBNzzYglIdTm9SbgMVg==",+ "dev": true,+ "bin": {+ "ncu": "build/cli.js",+ "npm-check-updates": "build/cli.js"+ },+ "engines": {+ "node": "^18.18.0 || >=20.0.0",+ "npm": ">=8.12.1"+ }+ },"node_modules/npm-install-checks": {"version": "7.1.1","dev": true,@@ -31998,7 +32013,7 @@"version": "2.0.2","license": "UNLICENSED","dependencies": {- "@distube/ytdl-core": "^4.15.1",+ "@distube/ytdl-core": "^4.16.4","@nestjs/bullmq": "^10.2.3","@nestjs/common": "^10.0.0","@nestjs/config": "^3.2.2",diff --git a/package.json b/package.jsonindex 5937312..7819e29 100644--- a/package.json+++ b/package.json@@ -20,7 +20,8 @@"clean": "rimraf dist","changelog": "auto-changelog -p","release": "release-it",- "commit": "cz"+ "commit": "cz",+ "check:lib": "npm-check-updates -w backend -f @distube/ytdl-core -u"},"devDependencies": {"@release-it/bumper": "^7.0.1",@@ -30,6 +31,7 @@"cz-conventional-changelog": "^3.3.0","docsify-cli": "^4.4.4","netlify-cli": "^10.5.1",+ "npm-check-updates": "^17.1.15","release-it": "^18.1.2","release-it-docker-plugin": "^1.0.0","rimraf": "^6.0.1"