Skip to content

Commit

Permalink
Fix CircleCI (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Jul 30, 2020
1 parent e5887f0 commit bd16a00
Showing 1 changed file with 4 additions and 33 deletions.
37 changes: 4 additions & 33 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
version: 2

defaults: &defaults
working_directory: ~/repo
docker:
- image: circleci/node:10

jobs:
test:
<<: *defaults
build:
working_directory: ~/repo
docker:
- image: circleci/node:10
steps:
- checkout
- restore_cache:
Expand All @@ -25,31 +24,3 @@ jobs:
key: yarn-{{ .Branch }}-{{ checksum "yarn.lock" }}
paths:
- node_modules/

deploy:
<<: *defaults
steps:
- checkout
- run: yarn
- run: make build
- run: npm set //registry.npmjs.org/:_authToken $AUTH_TOKEN
- run: npm publish

workflows:
version: 2

test:
jobs:
- test:
filters:
tags:
only: /.*/

deploy:
jobs:
- deploy:
requires:
- test
filters:
tags:
only: /^v.*/

0 comments on commit bd16a00

Please sign in to comment.