build(deps-dev): Bump @material-symbols/svg-400 from 0.21.1 to 0.21.2… #2894
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: "Chromatic" | |
on: push | |
jobs: | |
deployment: | |
runs-on: ubuntu-latest | |
if: ${{ github.triggering_actor != 'dependabot[bot]' }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Use Node.js v18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18.x" | |
- name: Install dependencies | |
run: npm i | |
- name: Build tokens | |
run: npm run build:tokens | |
- name: Build icons | |
run: npm run build:icons | |
- name: Publish to Chromatic | |
id: chromatic | |
uses: chromaui/action@v1 | |
with: | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
buildScriptName: "build:storybook" | |
- name: Generate Storybook preview | |
uses: actions/github-script@v6 | |
with: | |
script: | | |
await github.rest.repos.createCommitStatus({ | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
sha: context.sha, | |
state: "success", | |
target_url: "${{ steps.chromatic.outputs.storybookUrl }}", | |
description: "Storybook preview generated!", | |
context: "Chromatic / storybook (push)" | |
}); |