Skip to content

Commit

Permalink
Merge pull request #82 from storybookjs/auto
Browse files Browse the repository at this point in the history
move auto to CI
  • Loading branch information
hipstersmoothie authored Jul 19, 2019
2 parents ea1e6c3 + 52d9480 commit 2d0b155
Show file tree
Hide file tree
Showing 4 changed files with 204 additions and 485 deletions.
26 changes: 16 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,25 +55,31 @@ jobs:
paths:
- .

release:
<<: *defaults
steps:
- attach_workspace:
at: ~/storybook-addon-jsx
- run: mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
- run:
name: Release
command: yarn run release

workflows:
version: 2
build_and_test:
jobs:
- install:
filters:
tags:
only: /.*/
- install

- test:
requires:
- install
filters:
tags:
only: /.*/

- build:
requires:
- install
filters:
tags:
only: /.*/

- release:
requires:
- test
- build
14 changes: 4 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,8 @@
"description": "Display the JSX of the story",
"license": "MIT",
"main": "lib/index.js",
"repository": {
"type": "git",
"url": "https://github.com/storybooks/addon-jsx"
},
"author": {
"email": "lisowski54@gamil.com",
"name": "Andrew Lisowski"
},
"repository": "storybookjs/addon-jsx",
"author": "Andrew Lisowski <lisowski54@gamil.com>",
"scripts": {
"prebuild": "rimraf lib",
"build": "babel src --out-dir lib --ignore spec.js,test.js --extensions .ts --extensions .js --extensions .tsx && npm run build:types",
Expand All @@ -22,7 +16,7 @@
"test": "yarn test:all",
"test:all": "jest src",
"test:dev": "jest src --watch",
"release": "./scripts/release.sh",
"release": "auto shipit",
"build:types": "tsc -p tsconfig.json"
},
"jest": {
Expand Down Expand Up @@ -50,7 +44,7 @@
"@types/prismjs": "^1.9.1",
"@types/react": "^16.8.8",
"@types/storybook__react": "^4.0.1",
"auto": "^4.9.3",
"auto": "^7.2.1",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^24.5.0",
"babel-loader": "^8.0.5",
Expand Down
17 changes: 0 additions & 17 deletions scripts/release.sh

This file was deleted.

Loading

0 comments on commit 2d0b155

Please sign in to comment.