ci: separate cache actions

pull/5301/head
mehmet-erim 5 years ago
parent e7a199d9d7
commit e397b343a0

@ -12,10 +12,13 @@ jobs:
- uses: actions/cache@v2
with:
path: |
npm/ng-packs/node_modules
templates/app/angular/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
path: 'npm/ng-packs/node_modules'
key: ${{ runner.os }}-${{ hashFiles('npm/ng-packs/yarn.lock') }}
- uses: actions/cache@v2
with:
path: 'templates/app/angular/node_modules'
key: ${{ runner.os }}-${{ hashFiles('templates/app/angular/yarn.lock') }}
- name: Install packages
run: yarn install

Loading…
Cancel
Save