12
0
Fork 0
mirror of https://github.com/cycjimmy/semantic-release-action.git synced 2026-05-19 06:11:53 +00:00

fix: fix installation error for npm-audit

fix installation error for npm-audit

fix #159
This commit is contained in:
Geoffrey.C 2023-03-30 16:08:14 +08:00
parent f044c7a1fc
commit 86a0e59803
2 changed files with 3 additions and 3 deletions

View file

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