You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you please clarify what is "latest"? is that referring to the tag to be used?
For example we have projects that run either cypress or playwright. We have added a cypress and playwright tags to the relevant projects. However when I do this command I would expect only cypress affected projects to run, but it seems to be running every project
--tags doesn't work as described in the beginning of that PR. Instead, any where that takes --projects or --exclude can use tokens like:
--projects tag:mytag
--exclude tag:mytag
For affected, we don't have a projects arg. But we do have an exclude arg. If you wanted to run affected for one specific tag, you could do something like:
nx affected -t build --exclude '*,!tag:mytag'
This would run build for all projects with mytag that are currently affected
Documentation issue
Is there a specific documentation page you are reporting?
Enter the URL or documentation section here.
Additional context or description
The documentation says to use tags with the affected command we should use the command below
I tried this but it just runs every project.
Can you please clarify what is "latest"? is that referring to the tag to be used?
For example we have projects that run either cypress or playwright. We have added a cypress and playwright tags to the relevant projects. However when I do this command I would expect only cypress affected projects to run, but it seems to be running every project
and it outputs
Im also curious is $NX_TASK_TARGET_PROJECT meant to put in the project name as it looks like that is not working either.
NOTE I am referring to this tags feature that was recently merged - #10085
The text was updated successfully, but these errors were encountered: