Use setup-node cache yarn dependencies (#11243)
This commit is contained in:
1 parent
776b3ff13d
commit
8af696e435
5 files changed
+11
No files matched your search
@@ -36,6 +36,7 @@ jobs:
|
|||||||
uses: actions/setup-node@v2.2.0
|
uses: actions/setup-node@v2.2.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ jobs:
|
|||||||
uses: actions/setup-node@v2.2.0
|
uses: actions/setup-node@v2.2.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
|||||||
@@ -20,6 +20,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v2.2.0
|
uses: actions/setup-node@v2.2.0
|
||||||
|
with:
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v2.2.0
|
uses: actions/setup-node@v2.2.0
|
||||||
|
with:
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
|
|||||||
@@ -17,6 +17,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v2.2.0
|
uses: actions/setup-node@v2.2.0
|
||||||
|
with:
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
@@ -61,6 +63,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Setup Node.js
|
- name: Setup Node.js
|
||||||
uses: actions/setup-node@v2.2.0
|
uses: actions/setup-node@v2.2.0
|
||||||
|
with:
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: yarn install --frozen-lockfile
|
run: yarn install --frozen-lockfile
|
||||||
@@ -114,6 +118,7 @@ jobs:
|
|||||||
uses: actions/setup-node@v2.2.0
|
uses: actions/setup-node@v2.2.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
|
cache: "yarn"
|
||||||
|
|
||||||
- name: Config `ignore-engines=true` (Node.js 10)
|
- name: Config `ignore-engines=true` (Node.js 10)
|
||||||
if: ${{ matrix.node == '10' }}
|
if: ${{ matrix.node == '10' }}
|
||||||
|
|||||||
Reference in new issue
Block a user