version: 2jobs:install:macos:xcode: "9.2.0"working_directory: ~/reposteps:- checkout- restore_cache:key: cache-{{ checksum "yarn.lock" }}- run:name: Installing Dependenciescommand: yarn --ignore-engines- save_cache:key: cache-{{ checksum "yarn.lock" }}paths:- node_modules- run:name: Getting build iconcommand: if [[ $CIRCLE_BRANCH == canary ]]; then cp build/canary.icns build/icon.icns; fi- persist_to_workspace:root: .paths:- node_modulestest:macos:xcode: "9.2.0"steps:- checkout- attach_workspace:at: .- run:name: Testingcommand: yarn testbuild:macos:xcode: "9.2.0"steps:- checkout- attach_workspace:at: .- run:name: Buildingcommand: yarn dist --publish 'never'- store_artifacts:path: dist- persist_to_workspace:root: .paths:- distrelease:macos:xcode: "9.2.0"steps:- checkout- attach_workspace:at: .- run:name: Deploying to GitHubcommand: yarn distworkflows:version: 2build:jobs:- install:filters:tags:only: /.*/- test:requires:- installfilters:tags:only: /.*/- build:requires:- testfilters:branches:only:- master- canarytags:ignore: /.*/- release:requires:- testfilters:tags:only: /.*/branches:ignore: /.*/