Skip to content

Commit 7d18f89

Browse files
committed
ci: build ep_etherpad-lite before resolving plugins
The 'with plugins' jobs install ep_markdown / ep_readonly_guest / etc. which require ep_etherpad-lite at install-time. The dist + dist-cjs twins must exist before pnpm resolves those subpath imports. Also run check:exports as a fast canary before plugin install.
1 parent dce5292 commit 7d18f89

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/backend-tests.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,14 @@ jobs:
131131
- name: Build admin ui
132132
working-directory: admin
133133
run: pnpm build
134+
-
135+
name: Build ep_etherpad-lite (dist + dist-cjs)
136+
working-directory: src
137+
run: pnpm run build
138+
-
139+
name: Verify exports map
140+
working-directory: src
141+
run: pnpm run check:exports
134142
-
135143
name: Install Etherpad plugins
136144
run: >
@@ -264,6 +272,14 @@ jobs:
264272
- name: Build admin ui
265273
working-directory: admin
266274
run: pnpm build
275+
-
276+
name: Build ep_etherpad-lite (dist + dist-cjs)
277+
working-directory: src
278+
run: pnpm run build
279+
-
280+
name: Verify exports map
281+
working-directory: src
282+
run: pnpm run check:exports
267283
-
268284
name: Install Etherpad plugins
269285
run: >

0 commit comments

Comments
 (0)