Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

move auto to CI #82

Merged
merged 4 commits into from
Jul 19, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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