Skip to content

feat(projects): sort by volume + segmented scale bar (GLOOK-23) #188

feat(projects): sort by volume + segmented scale bar (GLOOK-23)

feat(projects): sort by volume + segmented scale bar (GLOOK-23) #188

Workflow file for this run

name: Tests
on:
pull_request:
types: [opened, synchronize, ready_for_review, reopened]
push:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/setup-node@v5
with:
node-version: 20
cache: 'npm'
- run: npm ci
- name: Detect invisible Unicode in prompts
# Mirror the runtime stripInvisible() character set so the CI gate
# and the runtime sanitizer agree. \x{0009}(tab), \x{000A}(LF),
# \x{000D}(CR) are intentionally excluded — they legitimately appear
# in prompt files.
run: |
if perl -CSD -ne 'exit 1 if /[\x{E0020}-\x{E007F}\x{200B}-\x{200F}\x{202A}-\x{202E}\x{2060}\x{FEFF}\x{0001}-\x{0008}\x{000B}\x{000C}\x{000E}-\x{001F}]/' prompts/*.txt; then
echo "OK — no invisible Unicode in prompts/"
else
echo "ERROR — invisible Unicode detected in a prompt file"
exit 1
fi
- run: npm test -- --ci --coverage