Skip to content

When running package-changed run in a CI environment, hash is not created #13

@TheRealWaldo

Description

@TheRealWaldo

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions