Closed some-user123 closed 1 year ago
My package.json is not located at top level but in a subfolder at ui/package.json. This is not picked up by this action.
package.json
ui/package.json
Error: Error: ENOENT: no such file or directory, open '/home/runner/work/$repo/$repo/package.json'
actions/setup-node allows to explicitly define the path, e.g.
actions/setup-node
with: node-version-file: 'ui/package.json' cache: pnpm cache-dependency-path: ui/pnpm-lock.yaml
It would be nice to have something similar for this action, e.g.
with: pnpm-version-file: 'ui/package.json'
Setting the working-directory does not work.
defaults: run: working-directory: ./ui
v2.3.0 has been released. You may check if it work properly.
My
package.json
is not located at top level but in a subfolder atui/package.json
. This is not picked up by this action.actions/setup-node
allows to explicitly define the path, e.g.It would be nice to have something similar for this action, e.g.
Setting the working-directory does not work.