fix(webexMember): updated member name handling (#845) #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages | |
name: components | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
semantic-release: | |
name: semantic-latest | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20.13.1 | |
- run: npm install | |
- run: npm run build | |
- run: npx semantic-release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Build Storybook | |
run: | | |
rm -rf docs/storybook | |
npm run storybook:build | |
- name: Push Storybook updates to Github | |
run: | | |
# Check if there's anything to commit | |
if [ -n "$(git status --porcelain)" ]; then | |
git pull | |
git add docs/storybook | |
git commit -m "docs: build Storybook [skip ci]" | |
git push origin master | |
fi | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |