From 18a04adaf348ebf926169c17522d9cbb3c0a9440 Mon Sep 17 00:00:00 2001 From: Alessandro Mariotti <114984852+alessandro-mariotti-zupit@users.noreply.github.com> Date: Fri, 13 Sep 2024 08:46:54 +0200 Subject: [PATCH] fix: update npm cache directory (#114) --- .github/workflows/node-step-format-lint-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/node-step-format-lint-build.yml b/.github/workflows/node-step-format-lint-build.yml index 3b50c180..4c06db61 100644 --- a/.github/workflows/node-step-format-lint-build.yml +++ b/.github/workflows/node-step-format-lint-build.yml @@ -55,7 +55,7 @@ jobs: # Set NPM cache directory to a new clean directory to avoid sharing with other runners - name: Set NPM cache directory - run: echo "NPM_CONFIG_CACHE=$(mktemp -d)" >> $GITHUB_ENV + run: echo "NPM_CONFIG_CACHE=~/.npm$(npm -v)" >> $GITHUB_ENV - name: Authenticate with private NPM package if: ${{ env.github_token }}