Skip to content

Commit

Permalink
test: v0.4.1-alpha5
Browse files Browse the repository at this point in the history
  • Loading branch information
rjsduf0503 committed May 29, 2023
1 parent 5f691c8 commit 7a57a1b
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,21 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- run: yarn cache clean
- run: yarn tsc-build:outDir
- run: |
npm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_AUTH_TOKEN }}
npm config set access public
- run: |
sed -i "s|CHROMATIC_HOMEPAGE|${{ steps.chromatic.outputs.storybookUrl }}|" package.json
- run: yarn publish
- run: |
sed -i "s|${{ steps.chromatic.outputs.storybookUrl }}|CHROMATIC_HOMEPAGE|" package.json
- run: cp -R build/* dist/
- run: |
git config --global user.name "류건열"
git config --global user.email "rjsduf0503@naver.com"
- run: |
git add dist
git commit -am 'build: automate deploy dist'
git push -f https://${{ secrets.GIT_AUTH_TOKEN }}@github.com/rjsduf0503/react-scatter-graphy.git HEAD:dist-build
- run: ls -R build
- run: cat build/components/ScatterGraphy/index.d.ts
# - run: |
# npm config set '//registry.npmjs.org/:_authToken' ${{ secrets.NPM_AUTH_TOKEN }}
# npm config set access public
# - run: |
# sed -i "s|CHROMATIC_HOMEPAGE|${{ steps.chromatic.outputs.storybookUrl }}|" package.json
# - run: yarn publish
# - run: |
# sed -i "s|${{ steps.chromatic.outputs.storybookUrl }}|CHROMATIC_HOMEPAGE|" package.json
# - run: cp -R build/* dist/
# - run: |
# git config --global user.name "류건열"
# git config --global user.email "rjsduf0503@naver.com"
# - run: |
# git add dist
# git commit -am 'build: automate deploy dist'
# git push -f https://${{ secrets.GIT_AUTH_TOKEN }}@github.com/rjsduf0503/react-scatter-graphy.git HEAD:dist-build

0 comments on commit 7a57a1b

Please sign in to comment.