Skip to content

ci(build): fix husky error on build for publish #399

@XavierGeerinck

Description

@XavierGeerinck

On publishing we get an error due to husky not being initialized

npm ERR! code 1
npm ERR! path /home/runner/work/js-sdk/js-sdk/build
npm ERR! command failed
npm ERR! command sh -c husky install
npm ERR! husky - .git can't be found (see https://typicode.github.io/husky/#/?id=custom-directory)

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/runner/.npm/_logs/2022-[10](https://github.com/dapr/js-sdk/actions/runs/3173653806/jobs/5169503894#step:8:11)-03T[11](https://github.com/dapr/js-sdk/actions/runs/3173653806/jobs/5169503894#step:8:12)_08_59_569Z-debug-0.log
Error: Process completed with exit code 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions