Skip to content

fix(tooling): downgraded rollup plugin scss package (#839) #11

fix(tooling): downgraded rollup plugin scss package (#839)

fix(tooling): downgraded rollup plugin scss package (#839) #11

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