We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a0325a commit 0e3ec08Copy full SHA for 0e3ec08
1 file changed
.github/workflows/lint.yaml
@@ -27,6 +27,14 @@ jobs:
27
with:
28
version: latest
29
30
+ # npm (not pnpm) is intentional: remark-cli is installed globally by the
31
+ # action at /usr/local/lib/node_modules/. pnpm's global store is not on
32
+ # that resolution path, so remark-cli would fall back to resolving
33
+ # remark-mdx from the project's node_modules, where @mdx-js/react pulls
34
+ # in mdast-util-mdx-jsx@3 — incompatible with remark-cli@10's bundled
35
+ # unified v10 stack. npm -g puts remark-mdx@2 next to remark-cli so the
36
+ # versions stay compatible. install_deps: false prevents the action from
37
+ # running npm install and reintroducing the incompatible project deps.
38
- name: Install remark-mdx globally
39
run: npm install -g remark-mdx@2
40
0 commit comments