Ver código fonte

use yarn if cache hit

Yuki Takei 4 anos atrás
pai
commit
80472871b3
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      .github/workflows/ci.yml

+ 1 - 1
.github/workflows/ci.yml

@@ -403,7 +403,7 @@ jobs:
       uses: cypress-io/github-action@v2
       with:
         working-directory: ./packages/app
-        install-command: npx lerna bootstrap -- --frozen-lockfile
+        install-command: ${{ (steps.cache-dependencies.outputs.cache-hit == 'true') && 'yarn') || 'npx' }} lerna bootstrap
         build: |
           cp config/ci/.env.local.for-ci .env.production.local
         start: yarn server