Repository navigation
feat: YouTube API v3 worker deploy + fix node-checks CI failures - #249
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
- Add worker-deploy job to CircleCI: deploys src/youtube-worker.ts Cloudflare Worker (YouTube API v3 proxy) via wrangler on every push to main, using CLOUDFLARE_API_TOKEN from project env vars - Fix node-checks job: add `cd functions && npm install` step before lint and tsc, which previously failed because functions/node_modules was never installed (root pnpm install doesn't touch subdirectories) - Fix functions/package.json: remove duplicate firebase-admin key (had both ^13.9.0 and ^10.3.0), downgrade typescript from non-existent ^6.0.0 to ^5.1.6, and align node engine to 20 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 | 9c8137d | Oct 17 2026, 01:24 AM |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | 9c8137d | Oct 17 2026, 01:24 AM |
❌ Deploy Preview for ytr-studio failed.
|
✅ Deploy Preview for elegant-seahorse-d9d460 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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
worker-deployCircleCI job — deployssrc/youtube-worker.ts(the Cloudflare Worker that proxies YouTube Data API v3 endpoints/api/channel,/api/videos,/api/search) viapnpm run deploy:worker(wrangler). Runs only onmainbranch. RequiresCLOUDFLARE_API_TOKENset in CircleCI project env vars.node-checksjob — the job was runningcd functions && npm run lintandnpx tsc --noEmitwithout ever installingfunctions/node_modules. Added an explicitcd functions && npm installstep to unblock linting and type-checking.functions/package.json— three issues resolved:firebase-adminkey (^13.9.0and^10.3.0) — removed the stale^10.3.0entry"typescript": "^6.0.0"— no stable TypeScript 6 release; changed to^5.1.6(matches rootpackage.json)"node": "24"engine — aligned to"20"to match thecimg/node:20.18CI imageFiles changed
.circleci/config.ymlfunctionsnpm install step; addworker-deployjob +deployworkflowfunctions/package.jsonNotes
src/youtube-worker.tsworker fetches channel stats, video lists, and search results from YouTube Data API v3 for channelUCrjJP_SHUeCmqpTSHJCXkdA. It falls back to demo data whenYOUTUBE_API_KEYis not set.CLOUDFLARE_API_TOKENmust be configured in CircleCI project settings for the deploy step to succeed.https://app.circleci.com/agents/gh/ruhdevops/chat/bdc85fc4-a5dc-4bbe-aa05-00c855648beb