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
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,17 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Generate typed API client
run: npm run generate:api-client

- name: Check generated client is up to date
run: |
if [ -n "$(git status --porcelain -- src/api/generated)" ]; then
echo "::error::Generated API client is stale. Run 'npm run generate:api-client' and commit the result."
git --no-pager diff -- src/api/generated
exit 1
fi

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

Expand Down
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.PHONY: update-abi-snapshots check-abi-snapshots dev test lint deploy-testnet abi-snapshot \
smoke smoke-up check-docs-sync
smoke smoke-up check-docs-sync walkthrough

# Regenerate committed ABI metadata under abis/ (deterministic; LC_ALL=C).
# Assumes COMEBACKHERE-contracts/ is a sibling directory.
Expand Down Expand Up @@ -27,6 +27,11 @@ check-docs-sync:
@./scripts/check_webhook_docs_sync.sh
@./scripts/check_ratelimit_docs_sync.sh

# Seeded local testnet merchant walkthrough: seeds a merchant + invoice,
# pays it, and verifies on-chain and backend state. Run from a clean env.
walkthrough:
@./scripts/testnet_walkthrough.sh

test:
cargo test --manifest-path COMEBACKHERE-contracts/Cargo.toml

Expand Down
Loading