Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore documentation building parameters compatible with node 12 #11566

Merged
merged 2 commits into from
Sep 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,10 @@ jobs:
with:
python-version: 3.9

- name: Set up Node 16.x 🦙
- name: Set up Node 12.x 🦙
uses: actions/[email protected]
with:
node-version: "16.x"
node-version: "12.x"

- name: Read Poetry Version 🔢
run: |
Expand Down Expand Up @@ -146,8 +146,8 @@ jobs:
uses: actions/cache@v3
with:
path: docs/node_modules
key: ${{ runner.os }}-yarn-16.x-${{ hashFiles('docs/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-16.x
key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-12.x

- name: Install Dependencies 📦
run: make install install-docs
Expand Down Expand Up @@ -199,11 +199,11 @@ jobs:
with:
python-version: 3.9

- name: Set up Node 16.x 🦙
- name: Set up Node 12.x 🦙
if: needs.changes.outputs.docs == 'true'
uses: actions/[email protected]
with:
node-version: "16.x"
node-version: "12.x"

- name: Read Poetry Version 🔢
if: needs.changes.outputs.docs == 'true'
Expand Down Expand Up @@ -243,8 +243,8 @@ jobs:
uses: actions/cache@v3
with:
path: docs/node_modules
key: ${{ runner.os }}-yarn-16.x-${{ hashFiles('docs/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-16.x
key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-12.x

- name: Install Dependencies 📦
if: needs.changes.outputs.docs == 'true'
Expand Down Expand Up @@ -287,17 +287,17 @@ jobs:
- name: Checkout git repository 🕝
uses: actions/checkout@v3

- name: Set up Node 16.x 🦙
- name: Set up Node 12.x 🦙
uses: actions/[email protected]
with:
node-version: "16.x"
node-version: "12.x"

- name: Load Yarn Cached Packages ⬇
uses: actions/cache@v3
with:
path: docs/node_modules
key: ${{ runner.os }}-yarn-16.x-${{ hashFiles('docs/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-16.x
key: ${{ runner.os }}-yarn-12.x-${{ hashFiles('docs/yarn.lock') }}
restore-keys: ${{ runner.os }}-yarn-12.x

- name: Install Dependencies 📦
run: make install-docs
Expand Down