mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 15:53:08 +02:00
touch yarn.lock
This commit is contained in:
parent
97385db5b5
commit
db7c83c8ff
1 changed files with 6 additions and 2 deletions
|
@ -29,6 +29,10 @@ jobs:
|
||||||
executor: default
|
executor: default
|
||||||
steps:
|
steps:
|
||||||
- checkout
|
- checkout
|
||||||
|
- run:
|
||||||
|
name: Ensure yarn.lock
|
||||||
|
command: |
|
||||||
|
touch yarn.lock
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
name: Restore npm package caches
|
name: Restore npm package caches
|
||||||
keys:
|
keys:
|
||||||
|
@ -53,7 +57,7 @@ jobs:
|
||||||
yarn install
|
yarn install
|
||||||
yarn autoclean
|
yarn autoclean
|
||||||
yarn build
|
yarn build
|
||||||
[ ! -e yarn.lock ] && touch yarn.lock
|
touch yarn.lock
|
||||||
- save_cache:
|
- save_cache:
|
||||||
name: Cache npm packages
|
name: Cache npm packages
|
||||||
key: yarn-v1-arch-{{ arch }}-env-{{ .Environment.variableName }}-package-{{ checksum "package.json" }}-lock-{{ checksum "yarn.lock" }}
|
key: yarn-v1-arch-{{ arch }}-env-{{ .Environment.variableName }}-package-{{ checksum "package.json" }}-lock-{{ checksum "yarn.lock" }}
|
||||||
|
@ -87,7 +91,7 @@ jobs:
|
||||||
name: Test
|
name: Test
|
||||||
command: |
|
command: |
|
||||||
yarn test
|
yarn test
|
||||||
[ ! -e yarn.lock ] && touch yarn.lock
|
touch yarn.lock
|
||||||
- save_cache:
|
- save_cache:
|
||||||
name: Cache npm packages
|
name: Cache npm packages
|
||||||
key: yarn-v1-arch-{{ arch }}-env-{{ .Environment.variableName }}-package-{{ checksum "package.json" }}-lock-{{ checksum "yarn.lock" }}
|
key: yarn-v1-arch-{{ arch }}-env-{{ .Environment.variableName }}-package-{{ checksum "package.json" }}-lock-{{ checksum "yarn.lock" }}
|
||||||
|
|
Loading…
Reference in a new issue