Skip to content

Refactor CI/CD workflows for VS Code extension release - #5

Merged
marchingphoenix merged 7 commits into
mainfrom
claude/github-actions-workflow-JCDZo
Feb 13, 2026
Merged

Refactor CI/CD workflows for VS Code extension release#5
marchingphoenix merged 7 commits into
mainfrom
claude/github-actions-workflow-JCDZo

Conversation

@marchingphoenix

Copy link
Copy Markdown
Owner

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

  • Removed npm-publish-github-packages.yml - Generic Node.js package publishing workflow for GitHub Packages
  • Added release.yml - New workflow triggered on release creation that:
    • Builds and tests the extension
    • Packages the extension using vsce (VS Code Extension CLI)
    • Uploads the generated .vsix file to the GitHub release
  • Added ci.yml - New continuous integration workflow for pull requests that:
    • Tests against multiple Node.js versions (18 and 20)
    • Runs linting, tests, and build steps
    • Validates changes before merge

Notable Details

  • The release workflow now generates a properly named .vsix file using the release tag version
  • CI workflow uses npm caching for faster builds
  • Permissions are properly scoped (contents:write for release workflow)
  • Both workflows use Node.js 20 as the primary version, with CI also testing against Node.js 18 for compatibility

https://claude.ai/code/session_01JdJYbYwMCDDaVMcmLiDSeA

- 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
Comment thread .github/workflows/ci.yml Fixed
claude and others added 5 commits February 13, 2026 06:36
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
@marchingphoenix
marchingphoenix merged commit cb5c109 into main Feb 13, 2026
4 checks 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.

3 participants