Skip to content

build(dev-deps): bump dayjs from 1.11.7 to 1.11.10 #1765

build(dev-deps): bump dayjs from 1.11.7 to 1.11.10

build(dev-deps): bump dayjs from 1.11.7 to 1.11.10 #1765

Workflow file for this run

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