Repository navigation
fix: resolve CI workflow failures and add YouTube API worker deployment - #255
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/.eslintrc.js: expand minified config to properly formatted multi-line version (was causing 40 lint errors) - Fix functions/package.json: remove duplicate firebase-admin key (kept ^13.9.0, compatible with firebase-functions@7); downgrade typescript from nonexistent ^6.0.0 to ^5.1.6 - Fix node-checks CI job: add explicit functions npm install step and use installed tsc binary instead of npx - Add deploy-worker CI job: type-checks then deploys the YouTube API v3 Cloudflare Worker (src/youtube-worker.ts) on main branch merges using CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID secrets 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 | 28cf02e | Oct 18 2026, 02:24 AM |
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
ytstudio | 28cf02e | Oct 18 2026, 02: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
functions/.eslintrc.js— The file was minified to a single line, causing 40 ESLint errors (line length, spacing, indentation). Expanded to properly formatted multi-line config.functions/package.json— Two dependency bugs: (1) duplicatefirebase-adminkey where the last value (^10.3.0) overrode the first and was incompatible withfirebase-functions@^7.0.0which requires^11+; (2)typescript: ^6.0.0which doesn't exist (latest stable is 5.x). Fixed tofirebase-admin: ^13.9.0andtypescript: ^5.1.6.node-checksCI job — Added an explicitnpm install --legacy-peer-depsstep insidefunctions/before running lint/tsc, and replacednpx tscwith./node_modules/.bin/tsc(npx is not permitted in this CI environment).deploy-workerCI job — New job that type-checks then deploys the YouTube API v3 Cloudflare Worker (src/youtube-worker.ts) on every merge tomain. RequiresCLOUDFLARE_API_TOKENandCLOUDFLARE_ACCOUNT_IDto be set as CircleCI environment variables.Workflow failures fixed
node-checks→ lint.eslintrc.jsminified (40 errors)node-checks→ installfirebase-admindep conflict^13.9.0node-checks→ tsctypescript@^6.0.0doesn't exist^5.1.6node-checks→ tscnpxnot allowed in CI./node_modules/.bin/tscTest plan
npm run lint -- --max-warnings 0passes with 0 errors locally./node_modules/.bin/tsc --noEmitpasses with 0 errors locallyvalidateworkflow passes after mergedeployworkflow deploys worker to Cloudflare on main (requiresCLOUDFLARE_API_TOKEN+CLOUDFLARE_ACCOUNT_IDsecrets to be configured in CircleCI project settings)https://app.circleci.com/agents/gh/ruhdevops/chat/8c9d5cb7-8414-444a-9507-63580fbd1938