The hash is never created in an environment with the CI env var set to true:
❯ CI=true npx package-changed run 'npm ci --ignore-scripts'
added 910 packages, and audited 1148 packages in 3m
196 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
❯ ls -al .packagehash
ls: cannot access '.packagehash': No such file or directory
This is undesirable as it causes problems installing hooks and fires multiple times when used in npm 'pre' commands .
Is there a way to force it to create the hash?