File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,11 +49,11 @@ jobs:
4949 run : pnpm build
5050
5151 - name : Generate FHIR types for demo
52- # Use npx so the CLI binary resolves cleanly — pnpm install doesn't
53- # always wire the workspace bin symlink when @fhir-dsl/cli's dist/
54- # is built after install, and npx falls back to the npm registry .
52+ # npx needs --package because @fhir-dsl/cli's bin is named `fhir-gen`,
53+ # not `cli` — npx can't auto-resolve. Explicit form fetches the package
54+ # from npm and runs the right binary .
5555 working-directory : apps/his-demo
56- run : npx -y @fhir-dsl/cli generate --version r4 --validator native --expand-valuesets --resolve-codesystems --cache ./.fhir-cache --out ./src/fhir/r4
56+ run : npx -y --package= @fhir-dsl/cli fhir-gen generate --version r4 --validator native --expand-valuesets --resolve-codesystems --cache ./.fhir-cache --out ./src/fhir/r4
5757
5858 - name : Build demo (static SPA)
5959 working-directory : apps/his-demo
You can’t perform that action at this time.
0 commit comments