Skip to content

ci: replace Travis with GitHub Actions#165

Merged
pranaygp merged 1 commit into
masterfrom
ci/github-actions
May 17, 2026
Merged

ci: replace Travis with GitHub Actions#165
pranaygp merged 1 commit into
masterfrom
ci/github-actions

Conversation

@pranaygp
Copy link
Copy Markdown
Owner

Summary

  • Replace .travis.yml (pinned to Node 6, hasn't run in years) with .github/workflows/ci.yml.
  • Run on push to master and on every PR. Builds on Node 20, matrix across macOS and Ubuntu.
  • Runs yarn build, yarn lint, yarn test (with xvfb-run on Linux so @vscode/test-cli can 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

  • The workflow's first run on this PR is itself the test — if it goes green, CI is wired up.
  • Confirm CI is required to pass before merging (set in repo settings → branch protection → Require status checks).

🤖 Generated with Claude Code

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>
Copilot AI review requested due to automatic review settings May 17, 2026 00:28
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.yml with a matrix (ubuntu/macos) running build, lint, and test on Node 20.
  • Use xvfb-run on Linux to run yarn test, plain yarn test on 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.

@pranaygp pranaygp merged commit 21354e5 into master May 17, 2026
6 checks passed
@pranaygp pranaygp deleted the ci/github-actions branch May 17, 2026 00:29
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.

2 participants