mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-07 02:36:55 +00:00
fix: use error loglevel for installing dependencies
Because warnings during dependencies installation are not meants to make crash the release Closes #57
This commit is contained in:
parent
a893a77685
commit
ed6729b716
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
|
@ -4,7 +4,7 @@ const path = require('path');
|
|||
const run = async () => {
|
||||
// Install Dependencies
|
||||
{
|
||||
const {stdout, stderr} = await exec('npm ci --only=prod', {
|
||||
const {stdout, stderr} = await exec('npm --loglevel error ci --only=prod', {
|
||||
cwd: path.resolve(__dirname)
|
||||
});
|
||||
console.log(stdout);
|
||||
|
|
|
|||
Loading…
Reference in a new issue