From 97679309b8ed468e4037b6a2908e9f7df901ac15 Mon Sep 17 00:00:00 2001 From: Lucas Garron Date: Wed, 5 Jun 2024 02:09:58 -0700 Subject: [PATCH] Run `check-readme-cli-help` in CI. --- .github/workflows/CI.yml | 12 ++++++++++++ Makefile | 4 ++++ bun.lockb | Bin 7036 -> 7036 bytes 3 files changed, 16 insertions(+) create mode 100644 .github/workflows/CI.yml diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml new file mode 100644 index 0000000..3e98bab --- /dev/null +++ b/.github/workflows/CI.yml @@ -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 diff --git a/Makefile b/Makefile index b39af98..40de485 100644 --- a/Makefile +++ b/Makefile @@ -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" diff --git a/bun.lockb b/bun.lockb index 8d4ad50f5c05119f3930d9b68c249dd901ba8982..43204e83fc3ab83d10df3029d5279bef88fd0577 100755 GIT binary patch delta 348 zcmexk_Q!03o`OSg!9<;d`BUzD=QPSb*}bzuyU_CLgOhh3%$y)07Lf4dT(;85QEXf&A`d1nW%r&ugPqqwT*~du)U-3<(K12yCd*Hp zc^*((v9a>i`-FxC0SBbFGV81`FTPPHT4(V7DA&GMX{Y!q--ox}Y1$ffqV+!S#R-m^ zpRzw^nf!o9M3@O^8`#l62jwPa=INCbPyWc0I{5-4%jOu~FD#6VlLLk3i}M4eVP4^2 zj5E+P)U#kW!!Sx_vS6#$5>bU6S3 delta 386 zcmexk_Q!03p2C?kXVt_m2iO+XI`w@#eoI$lhiUiYC6jK(txlUH6rVJ6qMsG70RsaA zKLbO98j$9iIJH_p!C&E$o6V(+`Kk>%+O4TclNA_u2-*W>-GHiq6aym=b4;Gds6P1u zBM0Ne$u}A8H%BnFFmr+=SV1Z#=dzVfj$-3N5qaR?#MaF4AyUZfy>f2BzDXB@