/ proof-of-concept / toy-instruments
Sign in
proof-of-concept / toy-instruments

Embedded widget for readers: Play sound and Play motion buttons that download on first press, no setup/replay tabs or view controls; exaggeration attribute (default 5, not in the cache key)

Deploy to GitHub Pages · #9 · push by owner · main · 4e56865 · .github/workflows/pages.yml ·
build 1m 18sRaw log
Runner
Job build on ubuntu-latest
Checking out proof-of-concept/toy-instruments at 4e56865d
Container started from catthehacker/ubuntu:act-latest
▸ Post actions/setup-node@v4
(node:348) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Cleaning up the job container
actions/checkout@v40s
▸ actions/checkout@v4
Using mochi's built-in checkout (actions/checkout@v4)
proof-of-concept/toy-instruments is already checked out at 4e56865d (mochi checks out before the job starts)
actions/setup-node@v419s
▸ actions/setup-node@v4
Downloading actions/setup-node@v4 (49933ea5288c)
Attempting to download 22...
(node:23) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
Bad credentials
Falling back to download directly from Node
Acquiring 22.23.3 - x64 from https://nodejs.org/dist/v22.23.3/node-v22.23.3-linux-x64.tar.gz
Extracting ...
[command]/usr/bin/tar xz --strip 1 --warning=no-unknown-keyword --overwrite -C /mochi/temp/d4052317-7f7b-4067-bed1-0015c2ee5756 -f /mochi/temp/6e556987-e983-43b3-a6d3-84c3940fa434
Adding to the cache ...
Done
▾ Environment details
node: v22.23.3
npm: 10.9.9
yarn: 
WARNING: Cache action is only supported on GHES version >= 3.5. If you are on version >=3.5 Please check with GHES admin if Actions cache service is enabled or not.
Run npm ci7s
▸ Run npm ci

> toy-instruments@0.1.0 prepare
> vite build -c vite.embed.config.ts

vite v7.3.7 building client environment for production...
transforming...
✓ 31 modules transformed.
rendering chunks...
computing gzip size...
embed-dist/toy-instruments-embed.js  1,033.60 kB │ gzip: 234.68 kB
✓ built in 2.76s

added 62 packages, and audited 63 packages in 7s

15 packages are looking for funding
  run `npm fund` for details

3 vulnerabilities (1 moderate, 2 critical)

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
Run npm test13s
▸ Run npm test

> toy-instruments@0.1.0 test
> vitest run


 RUN  v3.2.7 /mochi/workspace

stdout | test/cymbal.test.ts > cymbal lattice > bending energy matches the plate (nu = 1/3) for bending, doming and twisting
cylinder bending energy / plate 0.9997
sphere bending energy / plate 0.9994
saddle bending energy / plate 0.9994
twist bending energy / plate 0.9994

stdout | test/cymbal.test.ts > cymbal lattice > a free flat plate rings near the (2,0) mode of a free circular plate
free (2,0) measured 67.4 Hz, ideal 69.8 Hz

stdout | test/cymbal.test.ts > cymbal lattice > energy balances with a glancing stick hit, friction, damping and rigid motion removed
contact samples 24 peak N 865 balance 7.47e-3

stdout | test/cymbal.test.ts > cymbal lattice > removing rigid motion leaves the plate with no net momentum and keeps the hit point vibrating
mean y 0.0000 mm, max |y| 2.252 mm

 ✓ test/cymbal.test.ts (4 tests) 8880ms
   ✓ cymbal lattice > a free flat plate rings near the (2,0) mode of a free circular plate  6454ms
   ✓ cymbal lattice > energy balances with a glancing stick hit, friction, damping and rigid motion removed  915ms
   ✓ cymbal lattice > removing rigid motion leaves the plate with no net momentum and keeps the hit point vibrating  1444ms
 ✓ test/string.test.ts (5 tests) 597ms
stdout | test/drum.test.ts > drum > small centre press rings near the ideal membrane fundamental
f01 measured 196.3 ideal 193.8

stdout | test/drum.test.ts > drum > mallet bounces off and energy balances
contact ms 8.58 peak N 22.0 balance 0.000003618597862471249

 ✓ test/drum.test.ts (3 tests) 931ms
   ✓ drum > small centre press rings near the ideal membrane fundamental  469ms
   ✓ drum > mallet bounces off and energy balances  455ms
 ✓ test/cache.test.ts (2 tests) 9ms
 ✓ test/partial.test.ts (1 test) 302ms
   ✓ partial results > are prefixes of the finished run (delayed pickup, mallet)  301ms
 ✓ test/hinge.test.ts (2 tests) 6ms

 Test Files  6 passed (6)
      Tests  17 passed (17)
   Start at  14:23:41
   Duration  12.58s (transform 308ms, setup 0ms, collect 435ms, tests 10.73s, environment 1ms, prepare 478ms)
Run npm run build20s
▸ Run npm run build

> toy-instruments@0.1.0 build
> tsc --noEmit && vite build

vite v7.3.7 building client environment for production...
transforming...
✓ 34 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html                   0.69 kB │ gzip:   0.42 kB
dist/assets/worker-BKGH6Imb.js   42.29 kB
dist/assets/index-DQVPHX33.css    8.18 kB │ gzip:   2.36 kB
dist/assets/index-DKfmlfzg.js   615.75 kB │ gzip: 164.87 kB
✓ built in 15.18s
actions/configure-pages@v50s
▸ actions/configure-pages@v5
Using mochi's built-in configure-pages (actions/configure-pages@v5)
This site will be served at https://toy-instruments--proof-of-concept.vault1-sites.magland.org/
actions/upload-pages-artifact@v32s
▸ actions/upload-pages-artifact@v3
Downloading actions/upload-pages-artifact@v3 (56afc609e742)
▸ Archive artifact
▾ Archive artifact
./
./index.html
./assets/
./assets/worker-BKGH6Imb.js
./assets/index-DQVPHX33.css
./assets/index-DKfmlfzg.js
▸ Upload artifact
Using mochi's built-in upload-artifact (actions/upload-artifact@v4)
Uploading artifact github-pages (1 file, 677376 bytes)
↑↓ move↵openescclose