fix(elements): add backgroundColor and borderColor props and fix icon size in Tag component #1801
Workflow file for this run
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: Preview | |
on: pull_request | |
jobs: | |
publish: | |
name: Publish | |
runs-on: ubuntu-latest | |
if: ${{ !startsWith(github.head_ref, 'ci-release-v') }} | |
outputs: | |
# https://www.chromatic.com/docs/github-actions#outputs | |
storybookUrl: ${{ steps.publish.outputs.storybookUrl }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup | |
uses: actions/setup-node@v3 | |
with: | |
cache: yarn | |
node-version: 18 | |
- name: Install | |
run: yarn | |
- name: Publish | |
id: publish | |
uses: chromaui/action@v1 | |
with: | |
buildScriptName: 'build:storybook' | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
token: ${{ secrets.GH_PAT }} | |
update_pull_request: | |
name: Update Pull Request | |
runs-on: ubuntu-latest | |
needs: publish | |
if: ${{ !startsWith(github.ref, 'refs/heads/ci-release-v') }} | |
steps: | |
- name: Update Pull Request Preview URL | |
uses: ivangabriele/[email protected] | |
with: | |
githubToken: ${{ secrets.GH_PAT }} | |
find: AUTOFILLED_PREVIEW_URL | |
isHtmlCommentTag: true | |
replace: ${{ needs.publish.outputs.storybookUrl }} |