fix(ci): cache cypress binary correctly

It seems cypress installs its own binary under a different path than
the path where it later looks for it for running the tests. This
change adds proper versioned caching for the binary to avoid re-
downloads and configures the binary path accordingly.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
Erik Michelson 2025-02-14 13:56:31 +01:00
parent 098322cef8
commit 159a100b0d
No known key found for this signature in database
GPG key ID: DB99ADDDC5C0AF82
5 changed files with 32 additions and 13 deletions

View file

@ -2720,7 +2720,7 @@ __metadata:
copy-webpack-plugin: "npm:12.0.2"
cross-env: "npm:7.0.3"
csstype: "npm:3.1.3"
cypress: "npm:13.15.2"
cypress: "npm:13.17.0"
cypress-commands: "npm:3.0.0"
cypress-fill-command: "npm:1.0.2"
d3-graphviz: "npm:5.6.0"
@ -8973,9 +8973,9 @@ __metadata:
languageName: node
linkType: hard
"cypress@npm:13.15.2":
version: 13.15.2
resolution: "cypress@npm:13.15.2"
"cypress@npm:13.17.0":
version: 13.17.0
resolution: "cypress@npm:13.17.0"
dependencies:
"@cypress/request": "npm:^3.0.6"
"@cypress/xvfb": "npm:^1.2.4"
@ -9022,7 +9022,7 @@ __metadata:
yauzl: "npm:^2.10.0"
bin:
cypress: bin/cypress
checksum: 10c0/07b1019a82941f3a5986d38dcd630a3ad08398dcd53c2e9bd316dad822b65fa7e4d9822be4e0cc8229747ac1b2bb4fc29747f0b509ff13b1853218a2ce2427aa
checksum: 10c0/159ce620e32d2785082aaa1f4f30f203dcec466df4a8e80dfa299035358772fd513c35820070ba8db52e2bf58078a372ff7009068e26967f993656e7da62e221
languageName: node
linkType: hard