12
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2026-05-15 13:00:32 +00:00

fix(*): use silent installation to prevent npm WARN

fix #48
This commit is contained in:
Geoffrey.C 2020-11-12 16:51:33 +08:00
parent b25ce01eaf
commit 7ca507d26a
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ module.exports = async () => {
? `@${semantic_version}`
: '';
const {stdout, stderr} = await exec(`npm install semantic-release${versionSuffix}`, {
const {stdout, stderr} = await exec(`npm install semantic-release${versionSuffix} --silent`, {
cwd: path.resolve(__dirname, '..')
});
core.debug(stdout);