From: Haoqun Jiang Date: Tue, 28 Feb 2023 12:03:07 +0000 (+0800) Subject: fix: only install cypress on cypress tests X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e16cad54979d9451eb360bfa06f1d5d2e5ebd86;p=thirdparty%2Fvuejs%2Fcreate-vue.git fix: only install cypress on cypress tests --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0558ffea..a839431e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -168,7 +168,7 @@ jobs: run: pnpm build - name: Force download Cypress on cache miss - if: steps.cache-cypress.outputs.cache-hit != 'true' + if: ${{ contains(matrix.flag-for-e2e, '--cypress') && steps.cache-cypress.outputs.cache-hit != 'true'}} working-directory: ../sample-project run: pnpm exec cypress install --force