Repository navigation
fix: CI workflow failures for YouTube API v3 worker deployment - #243
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 TypeScript verification in deploy-worker CI job: replace manual --lib ES2022 flags (missing @cloudflare/workers-types) with --project tsconfig.json --noEmit, which already has the correct workers-types configured. This resolves TS2304 errors for Request, Response, URL, and fetch globals. - Fix package.json: remove duplicate circletui entry in dependencies and remove duplicate trigger-circleci-pipeline (kept in devDependencies). Keeps @circleci/circleci-config-sdk at ^0.8.0 to match pnpm lockfile and avoid frozen-lockfile failures. 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 | 8ba10e3 | Oct 16 2026, 04:32 PM |
❌ 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 | 8ba10e3 | Oct 16 2026, 04:32 PM |
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-workerCI job was runningtscwith--lib ES2022 --skipLibCheckbut no--types @cloudflare/workers-types, causingTS2304: Cannot find name 'Request'/'Response'/'URL'/'fetch'errors. Fixed by switching to--project tsconfig.json --noEmit, which already has"types": ["@cloudflare/workers-types"]configured.package.jsonduplicate dependencies removed: Removed duplicatecircletuientry and duplicatetrigger-circleci-pipelineentry. Kept@circleci/circleci-config-sdkat^0.8.0to match the pnpm lockfile (avoids--frozen-lockfilefailure in CI).Changes
.circleci/config.yml—deploy-workerTypeScript verify step now uses--project tsconfig.json --noEmitpackage.json— removed duplicate dependency entries, version aligned with lockfileTest plan
pnpm install --frozen-lockfilepasses./node_modules/.bin/tsc --project tsconfig.json --noEmitpasses (0 errors)ruff check .passescd functions && npm run lint -- --max-warnings 0passescd functions && tsc --noEmitpasseshttps://app.circleci.com/agents/gh/ruhdevops/chat/725b9546-fee5-412d-a5f0-653e13e90fda