Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on:
pull_request:
branches: [main]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v6

- uses: actions/setup-node@v6
with:
node-version: 22

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run test:unit

- name: Type check
run: npx tsc --noEmit

- name: Build
run: npm run build
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,17 @@ Multiple Maven projects in one workspace are automatically detected and grouped
- **Multi-module Maven projects** (parent POM with `<modules>`) are not supported. The extension detects independent Maven projects within a workspace by finding the nearest `pom.xml` with a `src/` directory. Multi-module aggregator POMs without `src/` are skipped.
- **Debug mode** supports one project at a time. If you select tests from multiple projects and click Debug, only the first project runs in debug mode. The rest are skipped with a warning. Run mode handles multiple projects sequentially without this restriction.

## Releasing New Versions

The `main` branch is protected — all changes go through pull requests. Publishing to the VS Code Marketplace is automated via GitHub Actions:

1. Create a branch and make your changes
2. Bump `version` in `package.json` (e.g., `"0.1.1"` → `"0.2.0"`)
3. Open a PR and merge to `main`
4. CI detects the version change, runs tests, publishes to the marketplace, and creates a git tag

If the version in `package.json` is unchanged, CI skips publishing. Only version bumps trigger a release.

## How It Works

1. **Discovery**: Parses `.feature` files using the official `@cucumber/gherkin` parser (the same one the Cucumber VS Code extension uses)
Expand Down