Skip to content

A fast, helpful, and open-source document parser

pin miniflare?

Logan Markewiche5dc0a3be4a2
diff --git a/.github/workflows/ci-wasm.yml b/.github/workflows/ci-wasm.yml
index f4ae433..c276773 100644
--- a/.github/workflows/ci-wasm.yml
+++ b/.github/workflows/ci-wasm.yml
@@ -113,11 +113,13 @@ jobs:
path: packages/wasm/pkg/
- name: Install Miniflare
- # Use the version pinned in the root package.json, not @latest:
- # miniflare@latest currently resolves to a 5.x alpha whose
- # `new Miniflare()` options schema is incompatible with the 4.x
- # single-worker form used by scripts/edge-compat/wasm-test.mjs.
- run: npm install --ignore-scripts
+ # Pinned, NOT @latest: miniflare@latest currently resolves to a 5.x
+ # alpha whose `new Miniflare()` options schema replaced the 4.x
+ # single-worker form (`modules: [...]`) used by
+ # scripts/edge-compat/wasm-test.mjs with a nested `workers: [...]`
+ # shape. There is no root package.json/lockfile in this repo, so the
+ # version has to live here. Bump deliberately, re-running the test.
+ run: npm install --no-save [email protected]
- name: Run edge runtime parse test
run: node scripts/edge-compat/wasm-test.mjs