Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: 2
- jobs:
- build:
- docker:
- - image: 'circleci/node:9.7.1'
- branches:
- only:
- - master
- steps:
- - checkout
- - restore_cache:
- key: 'dependency-cache-{{ checksum "package.json" }}'
- - run:
- name: install
- command: npm install
- - save_cache:
- key: 'dependency-cache-{{ checksum "./package.json" }}'
- paths:
- - ./node_modules
- - deploy:
- name: Deploy
- command: npm run deploy
- - deploy:
- name: Alias
- command: npm run alias
Add Comment
Please, Sign In to add comment