googleapis / googleapis/release-please-action
Missing required file: package.json when using path config
- Dominant language
- TypeScript
- Stars
- 2.5k
- Forks
- 327
- PR merge metrics
- No merged PRs in 30d
Description
### TL;DR
The package I want to create a release for is in a subfolder `aws`.
I configured the path option in the release-please action, but I get an error.
I take it the configuration as explained here: https://github.com/google-github-actions/release-please-action?tab=readme-ov-file#action-inputs, still works for v4.
### Expected behavior
No errors
### Observed behavior
release-please failed: node (my-repo-name): Missing required file: package.json
### Action YAML
```yaml
steps:
- id: release
uses: google-github-actions/release-please-action@v4
with:
release-type: node
path: ./aws
```
```
### Log output
_No response_
### Additional information
_No response_
Contributor guide
Research direction
Start with the release-please action inputs documentation linked in the issue and reproduce the provided v4 configuration with a package in the aws subfolder. Trace how the path and release-type values are handled, then verify that the same configuration no longer reports a missing package.json.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, typescript
- Domain
- ci-cd, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100