Skip to content

Merge pull request #106 from owowagency/fix/allow-numbers-in-tooltip #144

Merge pull request #106 from owowagency/fix/allow-numbers-in-tooltip

Merge pull request #106 from owowagency/fix/allow-numbers-in-tooltip #144

Workflow file for this run

name: Release
on:
push:
branches:
- master
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: 18.17.0
registry-url: https://registry.npmjs.org
- run: yarn
- run: yarn build
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn generate-docs && npx semantic-release
- uses: actions/setup-node@v3
with:
cache: yarn
node-version: 18.17.0
registry-url: https://npm.pkg.github.com/
- env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: yarn publish dist
- run: yarn build-storybook
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook-static