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:
parent
34c56cc284
commit
fb350c270d
1 changed files with 4 additions and 1 deletions
5
.github/workflows/pipeline.yml
vendored
5
.github/workflows/pipeline.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue