templates.AIAgent/.w4c/workflows/ci-build.sh

10 lines
139 B
Bash

#!/usr/bin/env bash
set -euo pipefail
npm ci
echo '→ lint'
npm run lint
echo '→ test'
npm test -- --run
echo '→ build'
npm run build