Skip to content

Commit

Permalink
deploy storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
paschalidi committed Jan 16, 2020
1 parent 9156ab0 commit 5cbaf73
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,8 @@ jobs:
- run: npm run linter:check
- run: yarn test

deploy:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn
- run: yarn deploy:storybook

publish-npm:
needs: test
# needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -37,4 +26,5 @@ jobs:
- run: echo "//registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN" >> ~/.npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
- run: yarn publish --new-version ${GITHUB_REF#"refs/tags/"} --no-git-tag-version
- run: npm run deploy:storybook
- run: yarn publish --new-version ${GITHUB_REF#"refs/tags/"} --no-git-tag-version

0 comments on commit 5cbaf73

Please sign in to comment.