Skip to content

Commit

Permalink
Add .circleci/config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sergeysolovev committed Jun 20, 2019
1 parent f982d06 commit d3d6ab5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: 2
jobs:
build:
docker:
- image: circleci/node:10.15.3
working_directory: ~/ymaps
steps:
- checkout
- restore_cache:
name: Restore node_modules cache
keys:
- v1-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
- v1-node-{{ arch }}-{{ .Branch }}-
- v1-node-{{ arch }}-
- run:
name: Nodejs Version
command: node --version
- run:
name: Install Packages
command: yarn install --frozen-lockfile
- run:
name: Build
command: yarn build
- run:
name: Test
command: yarn test
- save_cache:
name: Save node_modules cache
key: v1-node-{{ arch }}-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules

0 comments on commit d3d6ab5

Please sign in to comment.