]> git.ipfire.org Git - thirdparty/vuejs/create-vue.git/commitdiff
fix: only install cypress on cypress tests fix-binary-caches
authorHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 28 Feb 2023 12:03:07 +0000 (20:03 +0800)
committerHaoqun Jiang <haoqunjiang@gmail.com>
Tue, 28 Feb 2023 12:03:07 +0000 (20:03 +0800)
.github/workflows/ci.yml

index 0558ffea6f8b99ad86b620c6e2093256d606084e..a839431eb28af7beb59947cf27cc5f44255404cb 100644 (file)
@@ -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