Skip to content

Commit

Permalink
Try get deployment working
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Jan 2, 2019
1 parent 7a8d8d8 commit 0c4643b
Show file tree
Hide file tree
Showing 4 changed files with 632 additions and 434 deletions.
60 changes: 0 additions & 60 deletions .circle/config.yml

This file was deleted.

22 changes: 19 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
name: Build
command: yarn build

- run: # run tests
- run:
name: Test
command: yarn jest

deploy:
machine:
enabled: true
docker:
- image: circleci/node
steps:
- checkout
- run:
Expand All @@ -44,6 +44,22 @@ jobs:
name: Setting up NPM
command: 'echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc'

- run:
name: WHOAMI
command: npm whoami

- run:
name: Deploy
command: yarn release

workflows:
version: 2
build-and-deploy:
jobs:
- build
- deploy:
requires:
- build
filters:
branches:
only: master
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"name": "root",
"version": "0.0.0",
"private": true,
"workspaces": [
"packages/*"
Expand All @@ -25,7 +26,7 @@
"danger": "^6.0.2",
"husky": "^1.0.0",
"jest": "^23.6.0",
"lerna": "^3.4.3",
"lerna": "^3.8.1",
"lint-staged": "^8.0.4",
"prettier": "^1.14.3",
"release-it": "^7.6.1",
Expand Down

0 comments on commit 0c4643b

Please sign in to comment.