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

on:
pull_request:
branches:
- main
push:
branches:
- main

jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- run: bun install
- run: bun run lint
- run: bun run fmt:check
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# opencode-notification
# opencode-notification
43 changes: 22 additions & 21 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@
"build": "bun run clean && bun build index.ts --outdir dist --target bun --format esm && bunx tsc -p tsconfig.build.json --emitDeclarationOnly",
"clean": "rm -rf dist",
"lint": "oxlint .",
"format": "oxfmt ."
"fmt": "oxfmt",
"fmt:check": "oxfmt --check"
},
"dependencies": {
"@opencode-ai/plugin": "^1.2.16"
},
"devDependencies": {
"@types/bun": "latest",
"oxfmt": "^0.36.0",
"oxfmt": "^0.38.0",
"oxlint": "^1.51.0",
"typescript": "^5"
},
Expand Down
Loading