Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
chore: add circle config
Browse files Browse the repository at this point in the history
  • Loading branch information
notrab committed Apr 26, 2019
1 parent 2ece07b commit c106826
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
version: 2
jobs:
build:
docker:
- image: 'circleci/node:latest'
steps:
- checkout
- run: yarn
- run: yarn build
- save_cache:
paths:
- node_modules
key: moltin-shopkit-btn-{{ checksum "package.json" }}
release:
docker:
- image: 'circleci/node:latest'
steps:
- checkout
- restore_cache:
keys:
- moltin-shopkit-btn-{{ checksum "package.json" }}
- run: yarn build
- run: npx semantic-release
workflows:
version: 2
build_test_release:
jobs:
- build
- release:
filters:
branches:
only: master
requires:
- build

0 comments on commit c106826

Please sign in to comment.