build: dependabot configuration (#1011) #31
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
name: Release | |
on: | |
push: | |
branches: [main] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".node-version" | |
- name: Install Dependencies 🔧 | |
run: npm install | |
- name: Build Release | |
run: npm run dist | |
- name: Semantic Release ⬆️ | |
uses: cycjimmy/semantic-release-action@v3 | |
with: | |
semantic_version: 19 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Build Storybook 📚 | |
run: | | |
npm run build:storybook | |
- name: Deploy Storybook 🚀 | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: storybook_static | |
token: ${{ secrets.GITHUB_TOKEN }} |