Skip to content

npm warnings cause the action to fail #352

@novemberborn

Description

@novemberborn

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:

  • Ubuntu
  • macOS
  • Windows

Runner type:

  • Hosted
  • Self-hosted

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.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions