Update cache in pipelines definition

This commit is contained in:
Ramon Wenger 2020-10-08 14:55:27 +02:00
parent 801c8a7d2e
commit 40b558f555
1 changed files with 3 additions and 1 deletions

View File

@ -19,13 +19,14 @@ definitions:
caches: caches:
npm: $HOME/.npm npm: $HOME/.npm
cypress: $HOME/.cache/Cypress cypress: $HOME/.cache/Cypress
clientmodules: client/node_modules
aliases: aliases:
- &lint - &lint
name: lint name: lint
caches: caches:
- node - clientmodules
script: script:
- npm install --prefix client - npm install --prefix client
- npm run lint --prefix client - npm run lint --prefix client
@ -43,6 +44,7 @@ aliases:
caches: caches:
- pip - pip
- node - node
- clientmodules
- npm - npm
artifacts: artifacts:
- client/cypress/**/*.png - client/cypress/**/*.png