mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-24 07:06:38 +00:00
Re-enable cache
This commit is contained in:
parent
957871e459
commit
faf214ea40
@ -20,26 +20,22 @@ jobs:
|
|||||||
python3 -V
|
python3 -V
|
||||||
pip3 -V
|
pip3 -V
|
||||||
|
|
||||||
# - restore_cache:
|
- restore_cache:
|
||||||
# name: Restore Yarn Package Cache
|
name: Restore Yarn Package Cache
|
||||||
# keys:
|
keys:
|
||||||
# - dependency-cache-{{ checksum "yarn.lock" }}
|
- yarn-packages-{{ checksum "yarn.lock" }}
|
||||||
# - dependency-cache-
|
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Install project
|
name: Install project
|
||||||
# there is an issue with yarn and cache during executed on CI; for now we just run it twice, second should
|
|
||||||
# be successful. Check it later if updates fixed the issue
|
|
||||||
|
|
||||||
# increased timeout is for material-design-icons
|
# increased timeout is for material-design-icons
|
||||||
command: |
|
command: |
|
||||||
yarn install --network-timeout 1000000
|
yarn install --network-timeout 1000000
|
||||||
|
|
||||||
# - save_cache:
|
- save_cache:
|
||||||
# name: Save Yarn Package Cache
|
name: Save Yarn Package Cache
|
||||||
# key: dependency-cache-{{ checksum "yarn.lock" }}
|
key: yarn-packages-{{ checksum "yarn.lock" }}
|
||||||
# paths:
|
paths:
|
||||||
# - ./node_modules
|
- ~/.cache/yarn
|
||||||
|
|
||||||
- run:
|
- run:
|
||||||
name: Building WebUI for distribution
|
name: Building WebUI for distribution
|
||||||
|
Loading…
Reference in New Issue
Block a user