cache-apt-pkgs-action/test
Andrew Walsh 9c915961c7
build: install ts-apt from GitHub instead of a local path (#231)
* build: install ts-apt from GitHub instead of a local path

package.json pointed ts-apt at file:../ts-apt, which only exists on a
dev machine, so every test suite in CI failed with "Cannot find package
'ts-apt'". ts-apt isn't on npm, so pin it to a commit on GitHub. Its
prepare script builds dist on install.

The dev:tsapt:link script used --save, which is how the local path got
committed. Use --no-save so linking a local ts-apt doesn't change
package.json, and restore with npm ci on unlink.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* test: clear GITHUB_RUN_ID when testing the run ID fallback

GitHub Actions always sets GITHUB_RUN_ID, so the fallback test failed
once CI could run the tests at all.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 16:53:27 -08:00
..
action-runner.test.ts fix: archive installed package files on cache miss (#229) 2026-11-05 16:34:09 -08:00
action.test.ts stuff 2026-08-01 12:33:44 -07:00
cache-restore.test.ts fix: archive installed package files on cache miss (#229) 2026-11-05 16:34:09 -08:00
cache.test.ts stuff 2026-08-01 12:33:44 -07:00
instrumentation.test.ts build: install ts-apt from GitHub instead of a local path (#231) 2026-11-05 16:53:27 -08:00
manifest.test.ts stuff 2026-08-01 12:33:44 -07:00
packages.test.ts stuff 2026-08-01 12:33:44 -07:00