fix(ci): use local binary for pipeline smoke test (#1163)

The local smoke test runs npx gsd-pi which fails in the container
because the gsd bin isn't on PATH. Point GSD_SMOKE_BINARY at the
built dist/loader.js directly with an absolute path so smoke tests
work from any cwd.

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
TÂCHES 2026-03-18 09:11:26 -06:00 committed by GitHub
parent 34c56cc284
commit fb350c270d

View file

@ -56,7 +56,10 @@ jobs:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Smoke test (local)
run: npm run test:smoke
run: |
chmod +x dist/loader.js
export GSD_SMOKE_BINARY="$(pwd)/dist/loader.js"
npm run test:smoke
test-verify:
name: Test & Verify