Repository navigation
feat: YouTube API v3 worker CI integration + workflow failure fixes - #316
Open
circleci-app[bot] wants to merge 1 commit into
Open
circleci-app[bot] wants to merge 1 commit into
circleci-app[bot] wants to merge 1 commit into
Conversation
- Fix functions/package.json: remove duplicate firebase-admin, fix typescript from ^6.0.0 to ^5.6.0, relax node engine to >=18 - Fix functions/.eslintrc.js: reformat minified file so it passes lint - Fix .circleci/config.yml: add functions npm install step, upgrade node image to 22.11, remove broken quality-gc, add build-worker and deploy-worker jobs for the YouTube API v3 Cloudflare Worker - Fix .circleci/deploy.yml: add functions npm install in shared command, upgrade node image, add deploy-worker job in cd workflow AI-Generated: true
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | 05a05fa | Nov 02 2026, 02:25 AM |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | 05a05fa | Nov 02 2026, 02:25 AM |
✅ Deploy Preview for elegant-seahorse-d9d460 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
❌ Deploy Preview for ytr-studio failed.
|
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/youtube-worker.ts(already in repo) exposes/api/channel,/api/videos, and/api/searchendpoints against YouTube channelUCrjJP_SHUeCmqpTSHJCXkdA. Falls back to demo data whenYOUTUBE_API_KEYis not bound. Now properly wired into CI withbuild-workeranddeploy-workerjobs.functions/package.json: Removed duplicatefirebase-adminentry (had both^13.9.0and^10.3.0), downgradedtypescriptfrom non-existent^6.0.0to^5.6.0, relaxedengines.nodefrom"24"to">=18".functions/.eslintrc.js: Reformatted from a minified single-liner to readable multi-line form so it no longer fails its own ESLint rules. Added.eslintrc.jsitself toignorePatterns..circleci/config.yml: Upgraded Docker image fromcimg/node:20.18→cimg/node:22.11, added missingnpm install --legacy-peer-depsstep infunctions/before lint/tsc, removed brokennpx quality-gc runinvocation, addedbuild-workeranddeploy-workerjobs..circleci/deploy.yml: Same node image upgrade, addedfunctionsnpm install into the sharedsetup-node-pnpmcommand, addeddeploy-workerjob wired into thecdworkflow afterdeploy-production.Test plan
python-checksjob: ruff + mypy pass (verified locally —ruff check .andmypy . --ignore-missing-importsboth exit 0)node-checksjob: ESLint exits 0,tsc --noEmitexits 0 (verified locally infunctions/)build-workerjob:pnpm buildsucceeds andsrc/youtube-worker.tsis presentdeploy-workerjob: gracefully skips whenCLOUDFLARE_API_TOKENis unset; deploys when token is configuredhttps://app.circleci.com/agents/gh/ruhdevops/chat/3da23fb1-53ef-4d05-8075-63d4c486b190