Add node_modules to cache action

10.9-maintenance
Miguel Angel Mulero Martinez 2022-10-05 08:33:11 +02:00
parent 7100376d8f
commit d823308b7b
1 changed files with 12 additions and 0 deletions

View File

@ -20,6 +20,12 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules/
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install Node.js - name: Install Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
@ -62,6 +68,12 @@ jobs:
path: cache/ path: cache/
key: ${{ runner.os }}-${{ hashFiles('gulpfile.js') }} key: ${{ runner.os }}-${{ hashFiles('gulpfile.js') }}
- name: Cache node_modules
uses: actions/cache@v3
with:
path: node_modules/
key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Install Node.js - name: Install Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with: