Skip to content

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

TypeScript

mods: the CI job skips the test step until the installed Claude Code has plugin test

poteat43cc34032393
diff --git a/.github/workflows/mod-tests.yml b/.github/workflows/mod-tests.yml
index adbd750b..c0acba95 100644
--- a/.github/workflows/mod-tests.yml
+++ b/.github/workflows/mod-tests.yml
@@ -26,6 +26,10 @@ jobs:
- name: Run each mod's tests
run: |
+ if ! claude plugin test --help >/dev/null 2>&1; then
+ echo "claude $(claude --version) has no 'plugin test' yet; skipping the test step"
+ exit 0
+ fi
status=0
for mod in mods/*/; do
[ -d "$mod/tests" ] || continue