Our actions workflow runs successfully on both Windows 10 Self Hosted Runner and also on Github Hosted Runner [windows-2019]
When running on our self-hosted Windows 2019 Server, any warning occurring during the node build process (for an Angular front-end) causes “Error: process completed with exit code 1”
Is it possible to stop warnings from failing the actions workflow run?
- Using powershell 7 (pwsh) to run the workflow commands
- in workflow file, Set env variable CI: false
- in windows 2019 - powershell , set $WarningPreference= ‘SilentlyContinue’
but the warning still stops the run.