17 lines
427 B
Markdown
17 lines
427 B
Markdown
---
|
|
name: smoke-test
|
|
description: Run the standard sf-run smoke tests (--version, --help, --print). All three must pass before shipping a build.
|
|
---
|
|
|
|
#!/bin/bash
|
|
set -e
|
|
echo "=== --version ==="
|
|
node dist/loader.js --version
|
|
|
|
echo "=== --help (first 5 lines) ==="
|
|
node dist/loader.js --help 2>&1 | head -5
|
|
|
|
echo "=== --print (graceful degradation) ==="
|
|
node dist/loader.js --print 2>&1 | head -5
|
|
|
|
echo "All smoke tests passed."
|