diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 6b947434..1b2ac003 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -103,7 +103,7 @@ jobs: await exec.exec('npm', ['pkg', 'delete', 'packageManager'], opts); await exec.exec('npm', ['pkg', 'delete', 'directories.test'], opts); await exec.exec('npm', ['pkg', 'delete', 'devDependencies'], opts); - await exec.exec('npm', ['install', '--package-lock-only', '--ignore-scripts', '--audit=false', '--fund=false'], opts); + await exec.exec('npm', ['install', '--package-lock-only', '--min-release-age=2', '--allow-git=none', '--allow-remote=none', '--ignore-scripts', '--audit=false', '--fund=false'], opts); await exec.exec('npm', ['shrinkwrap'], opts); await exec.exec('npm', ['publish', '--provenance', '--access', 'public'], opts); });