Skip to content

Fix CI setup issues and typo in documentation - #10

Merged
gitricko merged 10 commits into
mainfrom
ci-setup2
May 23, 2026
Merged

gitricko merged 10 commits into
mainfrom
ci-setup2

Conversation

@gitricko

Copy link
Copy Markdown
Owner

This pull request introduces a complete CI/CD setup for building, packaging, and releasing the VS Code extension using GitHub Actions. It adds automated workflows for both pull request builds (with downloadable artifacts for reviewers) and tagged releases (with automatic GitHub Release creation and artifact attachment). Documentation is included to explain the workflows and required secrets. Additionally, a new npm script is added to support manual publishing to the VS Code Marketplace.

The most important changes are:

CI/CD Workflows:

  • Added .github/workflows/pr-build.yml to automatically build and package the extension on every pull request to main, uploading a .vsix artifact for manual reviewer testing.
  • Added .github/workflows/release.yml to build, package, and create a GitHub Release with the .vsix attached on every push to main, extracting the version from package.json for tagging.

Documentation:

  • Added CI-SETUP.md with detailed explanations of the new workflows, required secrets, manual testing instructions, versioning guidelines, and troubleshooting tips.

NPM Scripts:

  • Added a publish script to package.json for manual publishing to the VS Code Marketplace using a VSCE_TOKEN personal access token.

gitricko@hermes and others added 3 commits May 23, 2026 00:23
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 23, 2026 04:40

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds GitHub Actions-based CI/CD for building and packaging the VS Code extension, producing downloadable VSIX artifacts for PR review and automatically creating GitHub Releases from main. It also documents the CI setup and adds an npm script intended for manual Marketplace publishing.

Changes:

  • Add PR workflow to build/package the extension and upload a VSIX artifact for reviewers.
  • Add release workflow to build/package on main and create a GitHub Release tagged from package.json’s version.
  • Add CI setup documentation and a new npm script for manual vsce publish.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.

File Description
package.json Adds a new npm script to publish via vsce.
CI-SETUP.md New documentation describing workflows, secrets, and manual testing/publishing steps.
.github/workflows/release.yml New workflow to build/package and create a GitHub Release with the VSIX attached.
.github/workflows/pr-build.yml New workflow to build/package and upload VSIX artifacts for PRs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread CI-SETUP.md Outdated
Comment thread CI-SETUP.md Outdated
Comment thread .github/workflows/pr-build.yml Outdated
Comment thread .github/workflows/release.yml Outdated
Comment on lines +52 to +60
# Create GitHub Release with VSIX attached
- name: Create GitHub Release
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ steps.version.outputs.tag }}
name: Hermes VS Code ${{ steps.version.outputs.tag }}
files: hermes-*.vsix
generate_release_notes: true
fail_on_unmatched_files: true
Comment on lines +16 to +17
packages: write # for GitHub Packages (if used later)
attestations: write # for artifact attestation
Comment thread package.json Outdated
gitricko and others added 3 commits May 23, 2026 12:54
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
gitricko and others added 2 commits May 23, 2026 13:05
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@gitricko
gitricko merged commit 148ff13 into main May 23, 2026
3 checks passed
@gitricko
gitricko deleted the ci-setup2 branch May 23, 2026 05:21
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