mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
19 lines
327 B
Bash
19 lines
327 B
Bash
#!/bin/bash
|
|
|
|
set -eo pipefail # Fail on script errors
|
|
|
|
cd __tests__/smoke-plugins
|
|
echo
|
|
echo "Directory content:"
|
|
ls -a
|
|
echo
|
|
|
|
# Install plugin package
|
|
npm i
|
|
|
|
# Install CLI globally
|
|
npm i redocly-cli.tgz -g
|
|
|
|
# Actual smoke test - executing the command provided as the second argument
|
|
npm run redocly-version
|
|
npm run redocly-lint |