Refactor CI/CD workflows for VS Code extension release - #5
Merged
Conversation
- ci.yml: runs lint, tests, and build on PRs against main (Node 18 & 20) - release.yml: packages the extension as .vsix and attaches it to the GitHub release https://claude.ai/code/session_01JdJYbYwMCDDaVMcmLiDSeA
Superseded by the new ci.yml and release.yml workflows. https://claude.ai/code/session_01JdJYbYwMCDDaVMcmLiDSeA
The CI lint step failed because no ESLint config existed in the repo. https://claude.ai/code/session_01JdJYbYwMCDDaVMcmLiDSeA
…n permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
The mock file uses _-prefixed parameters to match VS Code interfaces without using them, which is standard practice for stubs. https://claude.ai/code/session_01JdJYbYwMCDDaVMcmLiDSeA
Node 18 is EOL; only test against Node 20. https://claude.ai/code/session_01JdJYbYwMCDDaVMcmLiDSeA
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
Restructured GitHub Actions workflows to better support the VS Code extension release process. Replaced the generic npm package publishing workflow with extension-specific build and release pipelines.
Key Changes
npm-publish-github-packages.yml- Generic Node.js package publishing workflow for GitHub Packagesrelease.yml- New workflow triggered on release creation that:vsce(VS Code Extension CLI).vsixfile to the GitHub releaseci.yml- New continuous integration workflow for pull requests that:Notable Details
.vsixfile using the release tag versionhttps://claude.ai/code/session_01JdJYbYwMCDDaVMcmLiDSeA