Skip to content

Commit

Permalink
simplify release
Browse files Browse the repository at this point in the history
  • Loading branch information
hipstersmoothie committed Jun 6, 2018
1 parent 63999d1 commit b055c2b
Showing 1 changed file with 6 additions and 21 deletions.
27 changes: 6 additions & 21 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ jobs:
steps:
- checkout
- attach_workspace:
at: ~//Gitbook-Plugin-Json-Schema
at: ~/Gitbook-Plugin-Json-Schema
- run:
name: "Build"
command: yarn build
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
- run: npm publish
install:
Expand Down Expand Up @@ -45,7 +48,7 @@ jobs:
steps:
- checkout
- attach_workspace:
at: ~//Gitbook-Plugin-Json-Schema
at: ~/Gitbook-Plugin-Json-Schema
- run:
name: "Lint"
command: yarn lint --format junit -o reports/junit/js-lint-results.xml
Expand All @@ -54,22 +57,13 @@ jobs:
steps:
- checkout
- attach_workspace:
at: ~//Gitbook-Plugin-Json-Schema
at: ~/Gitbook-Plugin-Json-Schema
- run:
name: "Test"
command: yarn test --ci --testResultsProcessor="jest-junit"
- run: curl -s https://codecov.io/bash | bash -s -- -t c252af62-2e6f-4541-bf64-958e80fc2c56
environment:
TZ: "/usr/share/zoneinfo/America/Los_Angeles"
build:
<<: *defaults
steps:
- checkout
- attach_workspace:
at: ~//Gitbook-Plugin-Json-Schema
- run:
name: "Build"
command: yarn build
workflows:
version: 2
build_test_deploy:
Expand All @@ -90,15 +84,6 @@ workflows:
filters:
tags:
only: /.*/
- build:
requires:
- lint
- test
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
- publish:
requires:
- build
Expand Down

0 comments on commit b055c2b

Please sign in to comment.