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
Glob checking will explode horribly if you run it from a sub-directory of the repo -- or, heaven forfend, outside the repository entirely.
In a non-JS project (or even a JS project) having a package.json in the repo root might not be the best thing. In this case one might create a folder to host files specific to using a tool and it is likely necessary that running npx requires your working directory to be this subfolder, so we have a conflict.
Luckily this doesn't affect the quoted repo, because it doesn't have paths/paths-ignores (yet).
Most of my repositories are Gradle/JVM ecosystem based, so if I wanted to set up this tool there, I would use the same pattern as in the above PR. The reason I chose NPM as delivery is because that's what I know a bit apart from Gradle, and is conveniently set up out of the box in GHA.
According to npx docs there's no CLI option to execute npx with a specific node_modules parent folder. There's a strange mention of $prefix, which look like something, but I don't understand it.
The text was updated successfully, but these errors were encountered:
TWiStErRob
changed the title
Ability to disable glob verification / set root directory
Ability to disable paths/ignores verification, or set root directory
Jul 10, 2023
In a non-JS project (or even a JS project) having a
package.json
in the repo root might not be the best thing. In this case one might create a folder to host files specific to using a tool and it is likely necessary that runningnpx
requires your working directory to be this subfolder, so we have a conflict.Example: https://github.com/TWiStErRob/github-workflows/pull/2/files
Luckily this doesn't affect the quoted repo, because it doesn't have paths/paths-ignores (yet).
Most of my repositories are Gradle/JVM ecosystem based, so if I wanted to set up this tool there, I would use the same pattern as in the above PR. The reason I chose NPM as delivery is because that's what I know a bit apart from Gradle, and is conveniently set up out of the box in GHA.
According to npx docs there's no CLI option to execute npx with a specific node_modules parent folder. There's a strange mention of
$prefix
, which look like something, but I don't understand it.The text was updated successfully, but these errors were encountered: