Skip to content

fix(ci): correct working-directory for extension npm ci step#537

Merged
rajbos merged 1 commit intomainfrom
fix-cli-publish-npm-ci
Apr 1, 2026
Merged

fix(ci): correct working-directory for extension npm ci step#537
rajbos merged 1 commit intomainfrom
fix-cli-publish-npm-ci

Conversation

@rajbos
Copy link
Copy Markdown
Owner

@rajbos rajbos commented Apr 1, 2026

Problem

The CLI - Publish to npm and GitHub workflow was failing at the "Install extension dependencies" step because working-directory: . points to the repo root, which has no package.json.

Fix

Changed working-directory: .working-directory: vscode-extension so npm ci runs in the correct directory.

Failing run: https://github.com/rajbos/github-copilot-token-usage/actions/runs/23869096577/job/69596046550

The 'Install extension dependencies' step was using working-directory: .
(repo root) which has no package.json. Changed to vscode-extension/ where
the actual package.json lives.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@rajbos rajbos merged commit 5222846 into main Apr 1, 2026
18 checks passed
@rajbos rajbos deleted the fix-cli-publish-npm-ci branch April 1, 2026 20:51
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