mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 08:20:02 +00:00
Configure CYPRESS_CACHE_FOLDER
The default doesn’t seem to work well in CI. (Note that cypress/.cache is already in the .gitignore.) Bug: T361520 Change-Id: I7e56d102ac2252a23b49c68f9df8940d5c060aa9
This commit is contained in:
parent
34a58e9860
commit
b7a1116df6
2
.npmrc
Normal file
2
.npmrc
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Controls where the cypress binary is downloaded during `npm install`
|
||||
CYPRESS_CACHE_FOLDER=./cypress/.cache
|
|
@ -3,8 +3,8 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"selenium-daily": "npm run selenium-test",
|
||||
"selenium-test": "cypress run",
|
||||
"cypress:open": "cypress open",
|
||||
"selenium-test": "CYPRESS_CACHE_FOLDER=./cypress/.cache cypress run",
|
||||
"cypress:open": "CYPRESS_CACHE_FOLDER=./cypress/.cache cypress open",
|
||||
"doc": "jsdoc -c jsdoc.json",
|
||||
"test": "grunt test",
|
||||
"lint:fix": "grunt test --fix"
|
||||
|
|
Loading…
Reference in a new issue