Skip to content

fix(fcc): accessibility issue fix for disabled audio and video button… #19

fix(fcc): accessibility issue fix for disabled audio and video button…

fix(fcc): accessibility issue fix for disabled audio and video button… #19

# 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 }}