Repository navigation
YouTube API v3 worker deploy + CI workflow failure fixes - #261
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 deploy-worker job to config.yml to deploy src/youtube-worker.ts to Cloudflare Workers (ytstudio) on main branch pushes - Fix node-checks job: add `npm install` in functions/ before running lint/tsc — was failing because pnpm installs root deps only - Remove quality-gc npx call that was failing (package not in deps) - Add setup-functions-npm reusable command to deploy.yml; wire into lint, build, and test jobs so functions npm scripts can run - Fix functions/package.json: remove duplicate firebase-admin key (^10.3.0 conflicted with ^13.9.0), remove spurious lint dep, downgrade typescript to stable ^5.8.0, add test script - Fix app/wrangler.jsonc: replace <WORKER_NAME> and <COMPATIBILITY_DATE> placeholder values with yt-studio-app/2025-01-01 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 | af6722b | Oct 19 2026, 03:26 AM |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | af6722b | Oct 19 2026, 03:26 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
deploy-workerjob to.circleci/config.ymlthat runswrangler deploy --env productiononmainbranch, deployingsrc/youtube-worker.ts(which already implements the full YouTube API v3 integration for channelUCrjJP_SHUeCmqpTSHJCXkdA—/api/channel,/api/videos,/api/searchendpoints with demo fallback).node-checksCI failures:config.ymlwas callingnpm run lintinsidefunctions/but never installing its npm deps (pnpm installs root only). Added explicitcd functions && npm installstep. Also removed thenpx quality-gc runcall that had no installed package.deploy.ymllint/build/test failures: Added reusablesetup-functions-npmcommand and wired it intolint,build, andtestjobs so each installs functions deps before running scripts.functions/package.json: Removed duplicatefirebase-adminkey (last value^10.3.0was silently winning over^13.9.0), removed spuriouslintruntime dep, pinnedtypescriptto stable^5.8.0, added atestscript sonpm testexits cleanly.app/wrangler.jsonc: Replaced<WORKER_NAME>and<COMPATIBILITY_DATE>placeholder strings withyt-studio-appand2025-01-01.Test plan
validateworkflow:python-checksandnode-checksjobs both passdeployworkflow:deploy-workertriggers on merge tomainand deploys the Cloudflare Worker (requiresCLOUDFLARE_API_TOKEN+CLOUDFLARE_ACCOUNT_IDsecrets set in CircleCI project)ciworkflow indeploy.yml:lint→build→testchain passes with functions deps now installedcdworkflow indeploy.yml:deploy-productionsucceeds onmain(requiresFIREBASE_TOKEN)https://app.circleci.com/agents/gh/ruhdevops/chat/d132373e-323a-488d-86c0-3fc82389b8f3