|
|
|
@ -57,14 +57,13 @@ jobs: |
|
|
|
|
key: ${{ runner.OS }}-cache-cypress-${{ hashFiles('**/package-lock.json', '.github/workflows/build_and_test.yml') }} |
|
|
|
|
|
|
|
|
|
- name: Cache node modules |
|
|
|
|
if: steps.cache-cypress.outputs.cache-hit == 'true' |
|
|
|
|
id: cache-nodemodules |
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|
with: |
|
|
|
|
path: | |
|
|
|
|
./node_modules |
|
|
|
|
./ee/server/services/node_modules |
|
|
|
|
key: ${{ runner.OS }}-node_modules-${{ hashFiles('**/package-lock.json', '.github/workflows/build_and_test.yml') }} |
|
|
|
|
key: ${{ runner.OS }}-node_modules-2-${{ hashFiles('**/package-lock.json', '.github/workflows/build_and_test.yml') }} |
|
|
|
|
|
|
|
|
|
- name: Cache meteor local |
|
|
|
|
uses: actions/cache@v2 |
|
|
|
@ -239,14 +238,13 @@ jobs: |
|
|
|
|
key: ${{ runner.OS }}-cache-cypress-${{ hashFiles('**/package-lock.json', '.github/workflows/build_and_test.yml') }} |
|
|
|
|
|
|
|
|
|
- name: Cache node modules |
|
|
|
|
if: steps.cache-cypress.outputs.cache-hit == 'true' |
|
|
|
|
id: cache-nodemodules |
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|
with: |
|
|
|
|
path: | |
|
|
|
|
./node_modules |
|
|
|
|
./ee/server/services/node_modules |
|
|
|
|
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json', '.github/workflows/build_and_test.yml') }} |
|
|
|
|
key: ${{ runner.OS }}-node_modules-2-${{ hashFiles('**/package-lock.json', '.github/workflows/build_and_test.yml') }} |
|
|
|
|
|
|
|
|
|
- name: NPM install |
|
|
|
|
if: steps.cache-nodemodules.outputs.cache-hit != 'true' || steps.cache-cypress.outputs.cache-hit != 'true' |
|
|
|
@ -310,7 +308,7 @@ jobs: |
|
|
|
|
path: | |
|
|
|
|
./node_modules |
|
|
|
|
./ee/server/services/node_modules |
|
|
|
|
key: ${{ runner.OS }}-node_modules-${{ hashFiles('**/package-lock.json', '.github/workflows/build_and_test.yml') }} |
|
|
|
|
key: ${{ runner.OS }}-node_modules-2-${{ hashFiles('**/package-lock.json', '.github/workflows/build_and_test.yml') }} |
|
|
|
|
|
|
|
|
|
- name: Cache meteor local |
|
|
|
|
uses: actions/cache@v2 |
|
|
|
|