Skip to content

Commit

Permalink
fix(ci): update ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
bigopon committed Jan 19, 2019
1 parent 71074ef commit 306b935
Showing 1 changed file with 25 additions and 9 deletions.
34 changes: 25 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,27 @@
version: 2.1
#####
# Circle CI
#
# For running docker images on circle ci, see: https://circleci.com/docs/docker
# For circle.yml explanation, see: https://circleci.com/docs/manually
#####

machine:
node:
version: 6.4.0
executors:
docker-circleci:
working_directory: "~/repo"
docker:
- image: "circleci/node:10.12-stretch-browsers"

jobs:
unit_test:
executor: docker-circleci
steps:
- checkout
- run: npm ci
- run: npm test
prepare_release:
executor: docker-circleci
steps:
- checkout
- run: npm ci
- run: npm build

workflows:
build_test:
jobs:
- unit_test
- prepare_release

0 comments on commit 306b935

Please sign in to comment.