grafana / lezer-logql

LogQL lezer grammar
Apache License 2.0
3 stars 4 forks source link

Fix npm publish workflow #34

Closed gwdawson closed 1 year ago

gwdawson commented 1 year ago

the publish-npm workflow is failing with sh: 1: husky: not found. this is because husky is a dev dependency but the workflow only installs production dependencies.

this workaround stems from the following: https://github.com/typicode/husky/issues/914#issuecomment-1376981862

how this works: