-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm warnings cause the action to fail #352
Comments
Hello @novemberborn. Thank you for your report. As you described in
|
Hello @novemberborn. We released a new version of the action to resolve the bug with falling on warning. For now it should work as expected. |
* add check to allow empty commits if arg is set * fix: target only the desired argument * fix: add debug message * fix: fix debug message Co-authored-by: Federico Grandi <fgrandi30@gmail.com>
Description:
npm, as run within this action, is emitting warnings due to my
.npmrc
file. These then fail the action.Action version:
v2 (not sure how to tell exactly what GHA selected)
Platform:
Runner type:
Tools version:
Node.js ^16.4
Repro steps:
With avajs/ava#2867 I'm configuring
lockfile-version=3
in my.npmrc
file. The npm version that is installed through the action does not recognize this option.See this run: https://github.com/avajs/ava/runs/4055643495?check_suite_focus=true
Expected behavior:
The warning is emitted but the action completes successfully.
Actual behavior:
The action fails.
The text was updated successfully, but these errors were encountered: