Cache adjusts

This commit is contained in:
Christian Klemm
2019-11-12 21:24:35 +01:00
committed by GitHub
parent a59468d6c1
commit 3ad3fc2622

View File

@@ -17,19 +17,18 @@ jobs:
- name: Install Yarn - name: Install Yarn
run: npm i yarn --global run: npm i yarn --global
- name: Install Packages
run: yarn install
- name: Cache node modules - name: Cache node modules
uses: actions/cache@v1 uses: actions/cache@v1
with: with:
path: node_modules path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }} key: ${{ runner.OS }}-build-${{ hashFiles('**/yarn.lock') }}
restore-keys: | restore-keys: |
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build- ${{ runner.OS }}-build-
${{ runner.OS }}- ${{ runner.OS }}-
- name: Install Packages
run: yarn install
- name: Run Build - name: Run Build
run: yarn build run: yarn build