]> git.ardis.lu - envpass/commitdiff
Disable `package-manager-cache`
authorArdis Lu <ardisglu@gmail.com>
Mon, 8 Jun 2026 02:43:43 +0000 (19:43 -0700)
committerArdis Lu <ardisglu@gmail.com>
Mon, 8 Jun 2026 02:43:43 +0000 (19:43 -0700)
From `setup-node`'s `README`: "For workflows with elevated privileges or access to sensitive information, we recommend disabling automatic caching ... when caching is not required for secure operation."

.github/workflows/release.yml

index afee0b8e74ee9592e05dc755f28b495c10e02d8a..ac2d56781a3f632ac9a53e906b6c1dde18052ff4 100644 (file)
@@ -33,6 +33,7 @@ jobs:
         with:
           node-version-file: ".node-version"
           registry-url: "https://registry.npmjs.org"
+          package-manager-cache: false
       - run: npm install -g npm@latest
       - run: npm ci
       - run: npm publish --provenance --access public
\ No newline at end of file
This page took 0.035319 seconds and 4 git commands to generate.