ci: replace Travis with GitHub Actions#165
Merged
Merged
Conversation
Travis was pinned to Node 6 (last edited ~2017) and hasn't run in years — no PR has been validated by it. Replace with a minimal GitHub Actions workflow that runs on push to master and on every PR: - Build on Node 20 against macOS and Ubuntu. - Run yarn build, yarn lint, and yarn test. - Use xvfb on Linux so @vscode/test-cli can spin up a headless VSCode. - Cancel in-progress runs when a new commit lands on the same ref. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
Replaces the unused, Node 6-pinned Travis configuration with a GitHub Actions workflow that builds, lints, and tests the extension on Node 20 across Ubuntu and macOS, using xvfb-run on Linux so the VS Code test runner can launch headlessly.
Changes:
- Delete
.travis.yml. - Add
.github/workflows/ci.ymlwith a matrix (ubuntu/macos) running build, lint, and test on Node 20. - Use
xvfb-runon Linux to runyarn test, plainyarn teston macOS.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| .travis.yml | Removed obsolete Travis CI configuration. |
| .github/workflows/ci.yml | New GitHub Actions workflow building/linting/testing on Node 20 across Linux and macOS. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
.travis.yml(pinned to Node 6, hasn't run in years) with.github/workflows/ci.yml.masterand on every PR. Builds on Node 20, matrix across macOS and Ubuntu.yarn build,yarn lint,yarn test(withxvfb-runon Linux so@vscode/test-clican launch headless VSCode).Why now
The 10 in-flight feature PRs all claim "tests pass locally" but nothing has actually validated them. Landing this first means every subsequent merge gets a real signal.
Test plan
🤖 Generated with Claude Code