mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-08 16:05:05 -04:00
Fixed windows build.
This commit is contained in:
parent
1538cd344d
commit
7049372f4a
10 changed files with 22 additions and 21 deletions
|
@ -33,7 +33,7 @@ try export GIT_WORK_TREE=${TMP_FOLDER}; git checkout HEAD -f \
|
|||
|| fatal "failed to copy etherpad to temporary folder"
|
||||
try mkdir "${TMP_FOLDER}"/.git
|
||||
try git rev-parse HEAD >${TMP_FOLDER}/.git/HEAD
|
||||
try cp -r ./src/node_modules "${TMP_FOLDER}"/src/node_modules
|
||||
try pnpm i "${TMP_FOLDER}"/src/node_modules
|
||||
|
||||
try cd "${TMP_FOLDER}"
|
||||
[ -f src/package.json ] || fatal "failed to copy etherpad to temporary folder"
|
||||
|
|
|
@ -25,7 +25,7 @@ TODO
|
|||
To run the backend tests, run the following from the Etherpad working directory:
|
||||
|
||||
```shell
|
||||
(cd src && npm test)
|
||||
(cd src && pnpm test)
|
||||
```
|
||||
|
||||
To run the frontend tests, visit: http://localhost:9001/tests/frontend/
|
||||
|
|
|
@ -72,4 +72,4 @@ jobs:
|
|||
run: src/bin/installDeps.sh
|
||||
-
|
||||
name: Run the backend tests
|
||||
run: cd src && npm test
|
||||
run: cd src && pnpm test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue