Skip to content

Commit

Permalink
Run check-readme-cli-help in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed Jun 5, 2024
1 parent 5ca9c83 commit 9767930
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: CI

on: [push, pull_request]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- run: make check-readme-cli-help
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ publish:
.PHONY: update-readme-cli-help
update-readme-cli-help:
bun x readme-cli-help --expect-exit-code 1 "bun run src/main.ts --help"

.PHONY: check-readme-cli-help
check-readme-cli-help:
bun x readme-cli-help --expect-exit-code 1 --check-only "bun run src/main.ts --help"
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit 9767930

Please sign in to comment.