Skip to content

How to properly handle lock file diffs in CI? #1866

Answered by milesj
akostylev0 asked this question in Q&A
Discussion options

You must be logged in to vote

Sorry you are correct, I misread the post. I was thinking about this at the task caching level, and not the CI affected level.

Right now affected checks are based on input files/env vars, and nothing else. Once we finish the plugin migration, it'll open up more pathways for features like this.

As a temporary solution, you could use implicitInputs in .moon/tasks/node.yml: https://moonrepo.dev/docs/config/tasks#implicitinputs But this would mark all node tasks as affected, and not just those with changed deps.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@akostylev0
Comment options

@milesj
Comment options

Answer selected by akostylev0
@akostylev0
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants