chore: bump commitlint #24
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: | |
release: | |
name: Release UI | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.9.0' | |
cache: 'yarn' | |
- name: Install dependencies | |
run: make install-ci | |
- name: Prettier check, Eslint check, Typescript check | |
run: make code-quality-check | |
- name: Run tests | |
run: make test-coverage | |
- name: Generate coverage badges | |
run: make generate-coverage-badges | |
- name: Build release | |
run: make build | |
- name: Release Storybook demo | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "ssbarbee" | |
git config --global credential.helper store | |
echo "https://${{ secrets.GH_PUBLISHING_TOKEN }}:[email protected]" > ~/.git-credentials | |
make release-storybook | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_PUBLISHING_TOKEN }} | |
- name: Release UI | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_PUBLISHING_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_PUBLISHING_TOKEN }} | |
run: make release |