diff --git a/.github/workflows/cypress-workflow.yml b/.github/workflows/cypress-workflow.yml index 821d2436..7d0ef848 100644 --- a/.github/workflows/cypress-workflow.yml +++ b/.github/workflows/cypress-workflow.yml @@ -120,9 +120,9 @@ jobs: uses: actions/cache@v2 with: path: ${{ matrix.cypress_cache_folder }} - key: cypress-cache-v2-${{ runner.os }}-${{ hashFiles('OpenSearch-Dashboards/plugins/security-analytics-dashboards-plugin/package.json') }} + key: cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }} restore-keys: | - cypress-cache-v2-${{ runner.os }}-${{ hashFiles('OpenSearch-Dashboards/plugins/security-analytics-dashboards-plugin/package.json') }} + cypress-cache-v2-${{ runner.os }}-${{ hashFiles('**/package.json') }} # for now just chrome, use matrix to do all browsers later - name: Cypress tests