Skip to content

fix(ci): run Server API tests from repo root - #50

Merged
khemssharma merged 2 commits into
mainfrom
khemssharma-patch-1
Aug 26, 2026
Merged

fix(ci): run Server API tests from repo root#50
khemssharma merged 2 commits into
mainfrom
khemssharma-patch-1

Conversation

@khemssharma

Copy link
Copy Markdown
Owner

The refactor-structure PR moved the Express backend (package.json, tests/, etc.) to the repo root, but this workflow still did working-directory: ./server, which no longer exists. That made every run fail immediately with "No such file or directory", so the Server API tests check has been red on every push/PR since. This points the checkout, install, cache, and test steps at the repo root to match the current layout. Verified locally: npm ci && npm test passes (12/12 tests, 2 suites) from root.

The refactor-structure PR moved the Express backend (package.json, __tests__/, etc.) to the repo root, but this workflow still did `working-directory: ./server`, which no longer exists. That made every run fail immediately with "No such file or directory", so the Server API tests check has been red on every push/PR since. This points the checkout, install, cache, and test steps at the repo root to match the current layout. Verified locally: `npm ci && npm test` passes (12/12 tests, 2 suites) from root.
@vercel

vercel Bot commented Aug 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
studynotion Error Error Aug 26, 2026 12:01pm

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
🔵 In progress
View logs
studynotion ccedbc3 Aug 26 2026, 11:59 AM

Added comments to clarify the purpose and context of the API tests workflow.
@khemssharma
khemssharma temporarily deployed to khemssharma-patch-1 - StudyNotion-1 PR #50 August 26, 2026 12:09 — with Render Destroyed
@khemssharma
khemssharma merged commit 9251df9 into main Aug 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant