Add cache to setup node

main
midudev 3 years ago
parent f725ebe6c5
commit fddeb8d6bf

@ -25,6 +25,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
cache: 'npm'
node-version: '14' node-version: '14'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
@ -39,6 +40,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
cache: 'npm'
node-version: '14' node-version: '14'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
@ -58,6 +60,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
cache: 'npm'
node-version: '14' node-version: '14'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci
@ -77,6 +80,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-node@v2 - uses: actions/setup-node@v2
with: with:
cache: 'npm'
node-version: '14' node-version: '14'
- name: Install dependencies - name: Install dependencies
run: npm ci run: npm ci

Loading…
Cancel
Save