Skip to content

Commit

Permalink
test: fix npm cache permissions on cache hit
Browse files Browse the repository at this point in the history
  • Loading branch information
rauno56 committed Jun 28, 2021
1 parent 476302d commit c43df2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/unit-test.yml
Expand Up @@ -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
Expand Down

0 comments on commit c43df2c

Please sign in to comment.