removed .npm from cache

This commit is contained in:
Marco Carrozzo
2023-01-18 15:05:59 +01:00
parent 51c0dfbe49
commit d7a761f236
2 changed files with 8 additions and 9 deletions
+2 -4
View File
@@ -43,16 +43,14 @@ runs:
nxcache-${{ runner.os }}-build- nxcache-${{ runner.os }}-build-
nxcache-${{ runner.os }}- nxcache-${{ runner.os }}-
- name: Node Modules cache - name: Node Modules cache
id: node-modules-dist-cache id: node-modules-cache
if: ${{ inputs.enable-node-modules-cache == 'true' }} if: ${{ inputs.enable-node-modules-cache == 'true' }}
uses: actions/cache@v3 uses: actions/cache@v3
env: env:
cache-name: node-modules-dist-cache cache-name: node-modules-cache
with: with:
path: | path: |
node_modules node_modules
~/.npm
dist
key: .npm-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}-${{ steps.tag-sha.outputs.tag_sha }} key: .npm-${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}-${{ steps.tag-sha.outputs.tag_sha }}
restore-keys: | restore-keys: |
node_modules-${{ runner.os }}-build-${{ env.cache-name }}- node_modules-${{ runner.os }}-build-${{ env.cache-name }}-
+6 -5
View File
@@ -60,9 +60,10 @@ jobs:
with: with:
dry-run-release: true dry-run-release: true
skip-pr-approve: true skip-pr-approve: true
# release:
# uses: ./.github/workflows/release.yml release:
# secrets: inherit uses: ./.github/workflows/release.yml
# with: secrets: inherit
# dry-run-release: true with:
dry-run-release: true