Skip to content

Commit 4c9b725

Browse files
committed
Fixed backend.
1 parent 71fbd4f commit 4c9b725

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/backend-tests.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ jobs:
5050
run: |
5151
cd ./etherpad/src
5252
./bin/installDeps.sh
53+
pnpm link --global
5354
-
5455
name: Prepare plugin
5556
run: |
@@ -58,12 +59,11 @@ jobs:
5859
PLUGIN_NAME=$(npx -c 'printf %s\\n "${npm_package_name}"') || exit 1
5960
pnpm i
6061
pnpm link --global
61-
cd ../etherpad/src
62-
#pnpm link "${PLUGIN_NAME}"
62+
pnpm link --global ep_etherpad-lite
63+
cd ../etherpad
64+
pnpm link --global "${PLUGIN_NAME}"
6365
# Rename to match the glob pattern passed to mocha.
64-
mv node_modules/"${PLUGIN_NAME}" ../node_modules/ep_client
65-
pwd
66-
ls -l ../node_modules/ep_*/static/tests/backend/specs
66+
mv node_modules/"${PLUGIN_NAME}" nodes_modules/ep_client
6767
-
6868
name: Remove core tests so only the client is tested
6969
run: rm -rf ./etherpad/src/tests/backend/specs

0 commit comments

Comments
 (0)