Cache installed node modules in Actions
This commit is contained in:
parent
18f428eddf
commit
5ae497e4ca
|
@ -32,6 +32,7 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
|
cache: 'yarn'
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: |
|
run: |
|
||||||
npm i -g yarn
|
npm i -g yarn
|
||||||
|
@ -62,6 +63,7 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
|
cache: 'yarn'
|
||||||
- name: Install node modules
|
- name: Install node modules
|
||||||
run: |
|
run: |
|
||||||
npm i -g yarn
|
npm i -g yarn
|
||||||
|
|
|
@ -52,6 +52,7 @@ jobs:
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: '14'
|
node-version: '14'
|
||||||
|
cache: 'yarn'
|
||||||
- name: Copy default configuration
|
- name: Copy default configuration
|
||||||
run: |
|
run: |
|
||||||
cp config/database.yml.postgres config/database.yml
|
cp config/database.yml.postgres config/database.yml
|
||||||
|
|
Loading…
Reference in New Issue