diff --git a/.github/workflows/unit-test.yml b/.github/workflows/unit-test.yml index 5c9b3f0faae..26e75d0cabd 100644 --- a/.github/workflows/unit-test.yml +++ b/.github/workflows/unit-test.yml @@ -38,13 +38,14 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: | npm install --ignore-scripts - chown -R 1001:121 "/github/home/.npm" # fix npm cache permissions for npm v7 + chown -R 1001:121 "/github/home/.npm" || true # fix npm cache permissions for npm v7 if cache exists npx lerna bootstrap --no-ci npm run compile - name: Install and Build (cache hit) 🔧 if: steps.cache.outputs.cache-hit == 'true' run: | + chown -R 1001:121 "/github/home/.npm" # fix npm cache permissions for npm v7 npm ci --ignore-scripts npx lerna bootstrap npm run compile