Repository navigation
YouTube API v3 Worker Deployment + CI Workflow Fixes - #323
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 key,
update TypeScript from ^6.0.0 to ^5.5.2 (v6 doesn't exist),
update firebase-functions to ^6.1.2, set node engine to 20
- Regenerate functions/package-lock.json to match updated deps
- Fix app/wrangler.jsonc: replace template placeholders <WORKER_NAME>
and <COMPATIBILITY_DATE> with real values (app-worker, 2025-01-01)
- Fix root package.json: remove duplicate circletui dependency
- Rewrite .circleci/config.yml:
- Fix node-checks job to install functions/ deps before lint/tsc
- Add worker-build-test job for Cloudflare Worker
- Add deploy-worker job that deploys src/youtube-worker.ts (ytstudio)
to Cloudflare via wrangler; gracefully skips if no API token set
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 | a3a0a69 | Nov 04 2026, 12:27 AM |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | a3a0a69 | Nov 04 2026, 12:27 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 implements full data fetching with/api/channel,/api/videos, and/api/searchendpoints — this PR wires up the CI/CD deployment pipeline and fixes blockers preventing the workflows from succeeding.functions/package.jsonhad a duplicatefirebase-adminkey and TypeScript^6.0.0(non-existent version), causing npm install to silently resolve wrong packages;node-checksjob never installedfunctions/dependencies before running lint.deploy-workerCI job deployssrc/youtube-worker.tsas theytstudioCloudflare Worker via wrangler on every push tomain(gracefully skips ifCLOUDFLARE_API_TOKENis not configured).Changes
functions/package.jsonfirebase-admin, fixedtypescript ^6.0.0 → ^5.5.2,firebase-functions ^7→^6.1.2, node engine24→20functions/package-lock.jsonapp/wrangler.jsonc<WORKER_NAME>→app-worker,<COMPATIBILITY_DATE>→2025-01-01package.jsoncircletuidependency.circleci/config.ymlnode-checks(now installs functions deps); addedworker-build-testanddeploy-workerjobsTest plan
python-checksjob: Ruff + MyPy + pytest passnode-checksjob: ESLint and tsc pass infunctions/afternpm installworker-build-testjob: app worker vitest tests rundeploy-workerjob: wrangler deploysytstudioworker (requiresCLOUDFLARE_API_TOKENenv var in CircleCI project settings)src/youtube-worker.tsendpoints work:/api/channel,/api/videos,/api/searchhttps://app.circleci.com/agents/gh/ruhdevops/chat/ad4cd397-6816-41da-9b5a-0a1ccda0d3d6