Fixed windows build and add cypress to dev dependencies.

This commit is contained in:
SamTV12345 2024-02-06 22:53:35 +01:00
parent ead3c0ea38
commit f6fa13ff72
3 changed files with 976 additions and 4 deletions

View file

@ -115,16 +115,13 @@ jobs:
etherpad/src/bin/doc/package-lock.json
- name: Install npm@6
run: npm install npm@6 -g
-
name: Install Cypress
run: cd etherpad && npm install cypress --legacy-peer-deps
-
name: Run Etherpad
run: |
cd etherpad
npm run prod --prefix ./src
curl --connect-timeout 10 --max-time 20 --retry 5 --retry-delay 10 --retry-max-time 60 --retry-connrefused http://127.0.0.1:9001/p/test
src\node_modules\cypress\bin\cypress run --config-file src\tests\frontendcypress\cypress.config.js
src\node_modules\.bin\cypress run --config-file src\tests\frontendcypress\cypress.config.js
# On release, upload windows zip to GitHub release tab
-
name: Rename to etherpad-lite-win.zip

974
src/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -79,6 +79,7 @@
"etherpad-lite": "node/server.ts"
},
"devDependencies": {
"cypress": "^13.6.4",
"@types/async": "^3.2.24",
"@types/express": "^4.17.21",
"@types/node": "^20.11.5",