name: Cache Cypress description: Caches Cypress binary to speed up the build. runs: using: composite steps: - id: cache-key name: Cache key based on Cypress version shell: bash run: echo "key=cypress-binary-$(jq -r '.devDependencies.cypress' js/apps/admin-ui/package.json)" >> $GITHUB_OUTPUT - uses: actions/cache@v4 name: Cache Cypress binary with: # See: https://docs.cypress.io/app/references/advanced-installation#Binary-cache path: | ~/.cache/Cypress /AppData/Local/Cypress/Cache ~/Library/Caches/Cypress key: ${{ runner.os }}-${{ steps.cache-key.outputs.key }}