Skip to content

Commit a0c50bc

Browse files
committed
ci: drop unused etherpad-lite checkout from test job
The test job checked out etherpad-lite and ran \`installDeps.sh\` followed by an unused \`pnpm link --global\` solely as scaffolding. cli-client itself has no tests beyond lint, and no runtime dep on a locally-linked etherpad core. Drop the scaffolding so the job stops inheriting etherpad-lite's lockfile/pnpm-config quirks (pnpm 11 \`autoInstallPeers\` mismatch).
1 parent 3e7a960 commit a0c50bc

1 file changed

Lines changed: 1 addition & 20 deletions

File tree

.github/workflows/npmpublish.yml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,6 @@ jobs:
1717
test:
1818
runs-on: ubuntu-latest
1919
steps:
20-
-
21-
uses: actions/checkout@v6
22-
with:
23-
repository: ether/etherpad-lite
24-
path: etherpad-lite
25-
-
26-
run: mv etherpad-lite ..
2720
-
2821
uses: actions/checkout@v6
2922
- uses: actions/cache@v5
@@ -42,22 +35,10 @@ jobs:
4235
with:
4336
node-version: 24
4437
cache: pnpm
45-
-
46-
run: cd ../etherpad-lite && ./bin/installDeps.sh && pnpm link --global .
4738
-
4839
run: pnpm i
4940
-
50-
run: |
51-
has_testcli_script () {
52-
[[ $(pnpm run | grep "^ test" | wc -l) > 0 ]]
53-
}
54-
55-
if has_testcli_script; then
56-
pnpm run test
57-
else
58-
echo "No test script found"
59-
fi
60-
name: Run tests if available
41+
run: pnpm run build
6142
-
6243
run: pnpm run lint
6344

0 commit comments

Comments
 (0)