File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212
1313 - uses : actions/setup-node@v4
1414 with :
15- node-version : 22.x
15+ node-version : ' 20'
16+
17+ - uses : oven-sh/setup-bun@v2
1618
1719 - name : Install Python
1820 uses : actions/setup-python@v5
@@ -24,23 +26,25 @@ jobs:
2426 - name : Install execution requirements
2527 run : python -m pip install -r myst_requirements.txt
2628
27- - name : Clone QuantEcon/ mystmd (myst-to-ipynb branch )
29+ - name : Install mystmd (QuantEcon fork )
2830 run : |
29- git clone --depth 1 --branch myst-to-ipynb https://github.com/QuantEcon/mystmd.git /tmp/mystmd
31+ git clone --branch quantecon --depth 1 \
32+ https://github.com/QuantEcon/mystmd.git /tmp/qe-mystmd
33+ cd /tmp/qe-mystmd
34+ bun install
35+ bun run build
36+ npm install -g /tmp/qe-mystmd/packages/mystmd
3037
31- - name : Build mystmd from source
32- working-directory : /tmp/mystmd
33- run : |
34- npm install
35- npx turbo run build
38+ - name : Verify mystmd version
39+ run : myst --version
3640
3741 - name : Build HTML with custom mystmd
3842 working-directory : ./lectures
39- run : /tmp/mystmd/packages/mystmd/dist/ myst.cjs build --html
43+ run : myst build --html
4044
4145 - name : Build ipynb exports with custom mystmd
4246 working-directory : ./lectures
43- run : /tmp/mystmd/packages/mystmd/dist/ myst.cjs build --ipynb
47+ run : myst build --ipynb
4448
4549 - name : Audit notebooks for MyST syntax leaks
4650 working-directory : ./lectures
You can’t perform that action at this time.
0 commit comments