Skip to content

Commit

Permalink
Added circle.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
varna committed Jul 17, 2019
1 parent ec3d609 commit 9203d79
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions circle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
jobs:
build:
working_directory: ~/repo
docker:
- image: circleci/node:10-browsers
branches:
ignore:
- gh-pages # list of branches to ignore
- /release\/.*/ # or ignore regexes
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
- run:
name: install dependences
command: yarn
- save_cache:
key: dependency-cache-{{ checksum "yarn.lock" }}
paths:
- ./node_modules
- run:
name: test
command: yarn test
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc

0 comments on commit 9203d79

Please sign in to comment.