5
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2025-11-07 10:46:56 +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:
antoine.leveugle 2021-04-29 21:01:15 +02:00
parent a893a77685
commit ed6729b716

View file

@ -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);