You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: add install smoke test job to CI pipeline (#9)
* feat: add install smoke test job to CI pipeline
Test npm pack, CLI commands, and install/uninstall flows for apex, lwc,
and all profiles. Verifies correct files are installed per profile and
extended content is excluded from non-full installs.
* fix: fix smoke test and document local testing workflow
Remove dev-only commands (doctor, status, plan, list-installed) from
smoke test β they are not in npm package files field. Add local smoke
test script (scripts/ci/smoke-test.sh). Document in CLAUDE.md and
README.md.
# ββ CLI help and version ββββββββββββββββββββββββββββββββββββββββββ
TARBALL=$(ls scc-universal-*.tgz 2>/dev/null | head -1)
33
+
34
+
if [ -n"$TARBALL" ] && [ -f"$TARBALL" ];then
35
+
SIZE=$(stat -f%z "$TARBALL"2>/dev/null || stat --format=%s "$TARBALL"2>/dev/null)
36
+
if [ "$SIZE"-gt 100000 ];then
37
+
pass "tarball created (${SIZE} bytes)"
38
+
else
39
+
fail "tarball too small (${SIZE} bytes)"
40
+
fi
41
+
else
42
+
fail "tarball not created"
43
+
fi
44
+
45
+
# ββ CLI help & version ββββββββββββββββββββββββββββββββββββββββββββββββββββββ
46
+
section "CLI commands"
47
+
48
+
if node scripts/scc.js --help 2>&1| grep -q "SCC β Salesforce Claude Code CLI";then
49
+
pass "scc --help"
50
+
else
51
+
fail "scc --help"
52
+
fi
53
+
54
+
if node scripts/scc.js --version 2>&1| grep -qE "^[0-9]+\.[0-9]+\.[0-9]+";then
55
+
pass "scc --version"
56
+
else
57
+
fail "scc --version"
58
+
fi
59
+
60
+
# ββ Create test project ββββββββββββββββββββββββββββββββββββββββββββββββββββ
if [ !-f".claude/agents/sf-apex-reviewer.md" ];then pass "uninstall removed agents";else fail "uninstall did not remove agents";fi
125
+
if [ !-f".claude/skills/sf-apex-testing/SKILL.md" ];then pass "uninstall removed skills";else fail "uninstall did not remove skills";fi
126
+
127
+
# ββ Install all βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
0 commit comments