name: "Unpack Cypress deps artifact" description: > The consuming half of the artifact transport for the Cypress deps: downloads this run's artifact from pack-cypress-deps and extracts the node_modules and Cypress binary into place. Runs on a worker only when restore-cypress-deps found the cache key cold, and must leave the same paths populated that a cache restore would have, so the steps that follow cannot tell which transport ran. inputs: fips: description: > Whether this is a FIPS-edition run. Must match the pack step so the correct artifact is downloaded. required: false default: "false" runs: using: "composite" steps: - name: ci/download-cypress-deps uses: actions/download-artifact@70fc10c6e5e1ce46ad2ea6f2b72d43f7d47b13c3 # v8.0.0 with: name: e2e-cypress-deps${{ inputs.fips == 'true' && '-fips' || '' }} path: ${{ runner.temp }} - name: ci/unpack-cypress-deps shell: bash run: | set -euo pipefail tar -xzf "${RUNNER_TEMP}/cypress-node-modules.tgz" -C "${GITHUB_WORKSPACE}" tar -xzf "${RUNNER_TEMP}/cypress-binary.tgz" -C "${HOME}"