woocommerce/plugins/woocommerce-admin/bin/js_lint_test.sh

11 lines
146 B
Bash
Executable File

#!/usr/bin/env bash
set -o errexit
if [[ ${RUN_JS} == 1 ]]; then
npm run -s install-if-deps-outdated
npm run lint
npm run build
npm test
fi