e-square-io / nx-github-actions

A set of Github Actions for NX workspaces
MIT License
30 stars 6 forks source link

Without NX_WORKSPACE_ROOT_PATH I got an error about missing nx.json file. #56

Closed tamascsaba closed 1 year ago

tamascsaba commented 2 years ago

Our nx.json is under a subfolder in the repository. I tired to use workingDirectory, but is is not working. The only solution is setting up NX_WORKSPACE_ROOT_PATH environment variable.

image image
ronnetzer commented 2 years ago

@tamascsaba Do you also need to set this variable when using nx-distributed-task or workingDirectory is working as expected over there?