Skip to content

fix: migrate attention/dag/tiny-dancer to workspace versioning and fi… #103

fix: migrate attention/dag/tiny-dancer to workspace versioning and fi…

fix: migrate attention/dag/tiny-dancer to workspace versioning and fi… #103

name: WASM Dedup Check
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check-wasm-dedup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install --ignore-scripts --omit=optional 2>&1 || true
working-directory: npm
env:
npm_config_optional: false
- name: Check for duplicate WASM artifacts
run: |
count=$(find node_modules -name "rvf_wasm_bg.wasm" 2>/dev/null | wc -l)
if [ "$count" -gt 1 ]; then
echo "ERROR: Found $count copies of rvf_wasm_bg.wasm"
find node_modules -name "rvf_wasm_bg.wasm"
exit 1
fi
echo "OK: $count WASM artifact(s) found"
working-directory: npm