1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-11-28 06:48:36 +09:00

touch yarn.lock

This commit is contained in:
Acid Chicken (硫酸鶏) 2019-01-27 20:19:24 +09:00 committed by GitHub
parent 97385db5b5
commit db7c83c8ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,6 +29,10 @@ jobs:
executor: default
steps:
- checkout
- run:
name: Ensure yarn.lock
command: |
touch yarn.lock
- restore_cache:
name: Restore npm package caches
keys:
@ -53,7 +57,7 @@ jobs:
yarn install
yarn autoclean
yarn build
[ ! -e yarn.lock ] && touch yarn.lock
touch yarn.lock
- save_cache:
name: Cache npm packages
key: yarn-v1-arch-{{ arch }}-env-{{ .Environment.variableName }}-package-{{ checksum "package.json" }}-lock-{{ checksum "yarn.lock" }}
@ -87,7 +91,7 @@ jobs:
name: Test
command: |
yarn test
[ ! -e yarn.lock ] && touch yarn.lock
touch yarn.lock
- save_cache:
name: Cache npm packages
key: yarn-v1-arch-{{ arch }}-env-{{ .Environment.variableName }}-package-{{ checksum "package.json" }}-lock-{{ checksum "yarn.lock" }}