Skip to content

Commit

Permalink
Merge pull request #11566 from RasaHQ/restore-documentation-node-version
Browse files Browse the repository at this point in the history
Restore documentation building parameters compatible with node 12
  • Loading branch information
znat authored Sep 12, 2022
2 parents c9391ea + 52dac01 commit bd88fda
Showing 1 changed file with 12 additions and 12 deletions.
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

0 comments on commit bd88fda

Please sign in to comment.