#!/usr/bin/env bash set -euo pipefail repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" npm_cache="${NPM_CONFIG_CACHE:-$HOME/.cache/woodpecker/webdrop/npm}" mkdir -p "$npm_cache" cd "$repo_root/packages/core" npm ci --cache "$npm_cache" --prefer-offline --no-audit npm run typecheck npm test npm run vectors:check npm run build cd "$repo_root/web" npm ci --cache "$npm_cache" --prefer-offline --no-audit npm run typecheck npm run lint:css npm test npm run build