Repository navigation
feat: YouTube API v3 worker deployment + CI workflow fixes - #318
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-typecheck job to type-check src/youtube-worker.ts in CI - Add deploy-worker job that deploys the ytstudio Cloudflare Worker on main (skips gracefully when CLOUDFLARE_API_TOKEN is not set) - Fix node-checks: install functions/ npm deps before running ESLint/tsc - Use local ./node_modules/.bin/tsc in functions instead of npx - Make quality-gc non-fatal - Upgrade node-checks image from cimg/node:20.18 to 22.19 Fix package issues: - package.json: remove duplicate circletui dependency key - functions/package.json: remove duplicate firebase-admin key - functions/package.json: fix typescript from ^6.0.0 to ^5.0.0 - functions/package.json: relax engines.node from 24 to >=20 - app/wrangler.jsonc: replace placeholder values AI-Generated: true
|
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
❌ 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. |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | 158bde1 | Nov 03 2026, 12:25 AM |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | 158bde1 | Nov 03 2026, 12:25 AM |
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-typecheckjob type-checkssrc/youtube-worker.tson every push; newdeploy-workerjob deploys it to Cloudflare (ytstudioworker) onmainwhenCLOUDFLARE_API_TOKENis set — gracefully skips otherwisenode-checksworkflow failures: The job previously rannpm run lintinfunctions/without installing its npm dependencies first, causing hard failures; now installsfunctions/deps explicitly and uses local./node_modules/.bin/tscinstead ofnpx tscfunctions/package.json: Removes duplicatefirebase-adminkey, correctstypescriptfrom non-existent^6.0.0→^5.0.0, relaxesengines.nodefrom"24"→">=20"for CI compatibilitypackage.json: Removes duplicatecircletuikey that was causing a pnpm JSON parse warning logged in previous CI runsapp/wrangler.jsoncplaceholders: Replaces<WORKER_NAME>/<COMPATIBILITY_DATE>with real valuesWorker endpoints (src/youtube-worker.ts)
GET /or/healthGET /api/channelUCrjJP_SHUeCmqpTSHJCXkdAvia YouTube Data API v3GET /api/videos?maxResults=NGET /api/search?q=queryAll endpoints fall back to demo data when
YOUTUBE_API_KEYsecret is not bound.https://app.circleci.com/agents/gh/ruhdevops/chat/e4cddb7c-fc76-46f4-8f8b-e5caea6204dd