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

8 lines
93 B
Bash

#!/usr/bin/env bash
if [[ ${RUN_JS} == 1 ]]; then
npm run lint
npm run build
npm test
fi