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
|
||||
with:
|
||||
node-version: '14'
|
||||
cache: 'yarn'
|
||||
- name: Install node modules
|
||||
run: |
|
||||
npm i -g yarn
|
||||
|
@ -62,6 +63,7 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '14'
|
||||
cache: 'yarn'
|
||||
- name: Install node modules
|
||||
run: |
|
||||
npm i -g yarn
|
||||
|
|
|
@ -52,6 +52,7 @@ jobs:
|
|||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '14'
|
||||
cache: 'yarn'
|
||||
- name: Copy default configuration
|
||||
run: |
|
||||
cp config/database.yml.postgres config/database.yml
|
||||
|
|
Loading…
Reference in New Issue