From 886f22acec6b3b729a160d901106e2d11ebc0542 Mon Sep 17 00:00:00 2001 From: Nicholas Felt Date: Tue, 12 Mar 2024 11:36:04 -0700 Subject: [PATCH] ci: Update documentation builds to use node.js version 20. --- .github/workflows/test-docs.yml | 2 +- .readthedocs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index a8a8337c..b56b5c10 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -22,7 +22,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 18 # The node version needs to stay in sync with .readthedocs.yml + node-version: 20 # The node version needs to stay in sync with .readthedocs.yml - run: npm install -g @mermaid-js/mermaid-cli - run: sudo apt install --no-install-recommends --assume-yes graphviz - name: Set up Python diff --git a/.readthedocs.yml b/.readthedocs.yml index 79b703b1..b2014607 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -6,7 +6,7 @@ build: os: ubuntu-22.04 tools: python: '3.11' # This needs to stay in sync with pyproject.toml and any CI scripts - nodejs: '18' # This needs to stay in sync with any CI scripts + nodejs: '20' # This needs to stay in sync with any CI scripts jobs: post_install: [npm install -g @mermaid-js/mermaid-cli] # Configuration