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
34 changes: 34 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: CI

on:
push:
branches: [main]
pull_request:

jobs:
ci:
name: CI
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Install dependencies
run: bun install --frozen-lockfile

- name: Check formatting
run: bun run format:check

- name: Run linter
run: bun run lint

- name: Run type check
run: bun run typecheck

- name: Run tests
run: bun test
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ The following meta commands have special behaviors to manipulate the context or
- `:savepoint <name>`: Mark a point in the conversation to which you can rollback.
- `:shell`: Run a shell command and include its output in the conversation.
- `:status`: Show the branch topology of the conversation.
- `:summarize`: Replace the current conversation with a summarized version.
- `:switch <branch>`: Switch to an existing branch.
- `:undo`: Undo the last user action.
- `:unload [<patterns, ...>]`: Remove matching files or directories from the conversation.
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"vsce-package": "bun run vsce package --no-dependencies",
"package": "bun run install-node && bun run build && bun run vsce-package",
"format": "prettier '**/{*.{ts,json},.*.cjs}' --list-different --write",
"format:check": "prettier '**/{*.{ts,json},.*.cjs}' --check",
"lint": "eslint 'src/**/*.{js,ts}'",
"test": "jest",
"typecheck": "tsc --noEmit",
Expand Down