Repository navigation
fix: resolve CI workflow failures and add YouTube API worker deploy - #320
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@^10.3.0
entry that conflicted with firebase-functions@7 (requires ^13.x)
- Fix functions/.eslintrc.js: reformat from minified one-liner to proper
multi-line JS to pass eslint max-len and spacing rules
- Update .circleci/config.yml:
- Fix node-checks: use Node 22, npm install --legacy-peer-deps, and
invoke tsc via local node_modules binary
- Fix python-checks: target .github/scripts/ where Python files live
- Add deploy-worker job: runs wrangler deploy for src/youtube-worker.ts
(YouTube API v3 Cloudflare Worker) when CLOUDFLARE_API_TOKEN is set
- Add deploy workflow: triggers node-checks then deploy-worker on main
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 | 1af637f | Nov 03 2026, 02:25 AM |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | 1af637f | Nov 03 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
functions/package.json— Removed duplicatefirebase-admin@^10.3.0entry that causednpm installto fail with a peer dependency conflict (firebase-functions@7requires^13.x, but npm was resolving to the older^10.3.0duplicate)functions/.eslintrc.js— Reformatted from a minified one-liner (483 chars) to proper multi-line JS; the minified form caused ESLint to reportmax-len,key-spacing,comma-spacing, andquote-propserrors when linting itself.circleci/config.yml— Three improvements:python-checks: now targets.github/scripts/where the actual Python files live (previously ruff reported "No Python files found")node-checks: updated to Node 22 image, usesnpm install --legacy-peer-depsfor functions, and invokestscvia its localnode_modules/.binbinarydeploy-workerjob +deployworkflow: builds and deployssrc/youtube-worker.ts(the YouTube API v3 Cloudflare Worker for channelUCrjJP_SHUeCmqpTSHJCXkdA) viawrangler deployon pushes tomain, gated onCLOUDFLARE_API_TOKENbeing setTest plan
validateworkflow: bothpython-checksandnode-checksjobs passdeployworkflow onmain:node-checkspasses,deploy-workerruns and either deploys (ifCLOUDFLARE_API_TOKENis set) or exits cleanly with a warningCLOUDFLARE_API_TOKENto CircleCI project environment variables to enable live Cloudflare Worker deploymenthttps://app.circleci.com/agents/gh/ruhdevops/chat/a698d16b-33a9-4c59-9838-6de3f65ae42a