-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11566 from RasaHQ/restore-documentation-node-version
Restore documentation building parameters compatible with node 12
- Loading branch information
Showing
1 changed file
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | | ||
|
@@ -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 | ||
|
@@ -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' | ||
|
@@ -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' | ||
|
@@ -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 | ||
|