Skip to content

Commit 6f5dbee

Browse files
committed
ci: install QuantEcon/mystmd quantecon branch before jupyter book build
1 parent 2fb0389 commit 6f5dbee

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818

1919
- uses: actions/setup-node@v4
2020
with:
21-
node-version: 18.x
21+
node-version: '20'
22+
23+
- uses: oven-sh/setup-bun@v2
2224

2325
- name: Install Python
2426
if: steps.cache-execution.outputs.cache-hit != 'true'
@@ -35,6 +37,18 @@ jobs:
3537
- name: Install jupyter book 2.0
3638
run: pip install "jupyter-book>=2.0.0a0"
3739

40+
- name: Install mystmd (QuantEcon fork)
41+
run: |
42+
git clone --branch quantecon --depth 1 \
43+
https://github.com/QuantEcon/mystmd.git /tmp/qe-mystmd
44+
cd /tmp/qe-mystmd
45+
bun install
46+
bun run build
47+
npm install -g /tmp/qe-mystmd/packages/mystmd
48+
49+
- name: Verify mystmd version
50+
run: myst --version
51+
3852
- name: Build HTML
3953
working-directory: ./lectures
4054
run: jupyter book build --html --execute

0 commit comments

Comments
 (0)