ci: publish.yml without --workspace-concurrency, which pnpm publish refuses

Merged
AL
14h ago
+5-4

Closes #251.

The first run of publish.yml failed before publishing anything, on ERROR Unknown option: 'workspace-concurrency'. pnpm publish does not take that option.

What changes

publish.yml runs pnpm -r publish --access public --no-git-checks, plus --dry-run when asked. It still publishes one package at a time, in dependency order. pnpm 10.24's recursive publish does that by itself: it walks the sorted chunks and awaits each package's publish. The comment says so, and why the option went.

Tested

  • The command: with --filter @missing-elements/h5p-libraries --dry-run added, the same command parses and packs @missing-elements/h5p-libraries@1.1.1 (156 files), then stops at "Publishing to https://registry.npmjs.org/ with tag latest and public access (dry-run)".
  • The workflow file: it parses as YAML.

After the merge, run gh workflow run publish.yml -R missing-elements/h5p-toolkit again, before 2026-11-21 13:19 UTC.


Summary by cubic

Fixes the publish.yml workflow so it no longer passes --workspace-concurrency to pnpm publish, which pnpm rejects and caused the first run to fail before publishing anything. Recursive publish already processes packages one at a time in dependency order, so the flag was unnecessary.