Engineering - improve node_modules cache action (#254076)

This commit is contained in:
Ladislau Szomoru
2025-07-04 11:16:38 +00:00
committed by GitHub
parent 535bf22ea8
commit 69005e1002

View File

@@ -35,10 +35,6 @@ jobs:
path: .build/node_modules_cache
key: "node_modules-${{ hashFiles('.build/packagelockhash') }}"
- name: Extract node_modules cache
if: steps.cache-node-modules.outputs.cache-hit == 'true'
run: tar -xzf .build/node_modules_cache/cache.tgz
- name: Install build dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
working-directory: build
@@ -113,10 +109,6 @@ jobs:
path: .build/node_modules_cache
key: "node_modules-${{ hashFiles('.build/packagelockhash') }}"
- name: Extract node_modules cache
if: steps.cache-node-modules.outputs.cache-hit == 'true'
run: tar -xzf .build/node_modules_cache/cache.tgz
- name: Install dependencies
if: steps.cache-node-modules.outputs.cache-hit != 'true'
run: |
@@ -183,11 +175,6 @@ jobs:
path: .build/node_modules_cache
key: "node_modules-${{ hashFiles('.build/packagelockhash') }}"
- name: Extract node_modules cache
if: steps.node-modules-cache.outputs.cache-hit == 'true'
shell: pwsh
run: 7z.exe x .build/node_modules_cache/cache.7z -aoa
- name: Install dependencies
if: steps.node-modules-cache.outputs.cache-hit != 'true'
shell: pwsh