ci caching

This commit is contained in:
Eugene Pankov
2019-06-07 20:00:32 +02:00
parent 8c61b8a778
commit ccb5d90634
2 changed files with 15 additions and 0 deletions

View File

@@ -63,3 +63,12 @@ addons:
sources: sources:
- sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main' - sourceline: 'deb https://dl.yarnpkg.com/debian/ stable main'
key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg' key_url: 'https://dl.yarnpkg.com/debian/pubkey.gpg'
cache:
directories:
- node_modules
- */node_modules
- $HOME/.cache/yarn
- $HOME/.cache/electron
- $HOME/.cache/electron-builder

View File

@@ -25,3 +25,9 @@ build_script:
artifacts: artifacts:
- path: 'dist\*.exe' - path: 'dist\*.exe'
cache:
- node_modules
- *\node_modules
- '%LOCALAPPDATA%/Yarn'
- '%USERPROFILE%\.electron'