ci: gate development images on checks [CI]

This commit is contained in:
justme committed 2026-10-12 01:47:24 +08:00
1 parent c0d155c608
commit fd01120d3a
6 files changed
+132 -50

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
#!/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