mirror of
https://github.com/jdx/mise-action.git
synced 2026-05-20 00:11:54 +00:00
fix: run npm install in pre-commit hook before build
Ensures node_modules are up to date before rebuilding dist/, preventing unintended dist changes from stale dependencies. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
89c67a39ab
commit
508514947d
1 changed files with 1 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
|||
# shellcheck disable=SC1091
|
||||
|
||||
npm install
|
||||
npm run all
|
||||
git add dist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue