From 0b8e84ef1f5ea3b906e36e8908bd5da3e491ba3e Mon Sep 17 00:00:00 2001 From: Pedro Rodrigues Date: Wed, 28 Jan 2026 16:29:23 +0000 Subject: [PATCH] test: add sanity test for skills installation Add a sanity test that verifies the skills CLI installation works: - Runs `npx skills add . -a claude-code -y` using current directory - Checks command doesn't fail (exit code 0) - Verifies .claude/skills directory is created - Dynamically discovers skills in the repo and verifies they're installed - Checks SKILL.md exists in each installed skill The test runs on every push to main and pull requests. Co-Authored-By: Claude Opus 4.5 --- .github/workflows/ci.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 515d099..134779b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - uses: actions/setup-node@v6 with: - node-version: "20" + node-version: '20' - name: Install dependencies run: npm install @@ -30,7 +30,7 @@ jobs: - uses: actions/setup-node@v6 with: - node-version: "20" + node-version: '20' - name: Install dependencies working-directory: packages/skills-build @@ -53,18 +53,18 @@ jobs: exit 1 fi - test: - name: Test + sanity-test: + name: Sanity Test (skills add) runs-on: ubuntu-latest steps: - uses: actions/checkout@v6 - uses: actions/setup-node@v6 with: - node-version: "20" + node-version: '20' - name: Install dependencies run: npm install - name: Run sanity tests - run: npm run test:sanity + run: npm run test