adding new color property in Text and Link component #17144
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: "Chromatic" | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
push: | |
branches: | |
- main | |
jobs: | |
chromatic-deployment: | |
if: github.event.pull_request.draft == false | |
# Operating System | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn | |
- name: Build ag grid theme | |
run: yarn build:ag-grid-theme | |
- name: Bundle css | |
run: yarn bundle:css | |
# 👇 Adds Chromatic as a step in the workflow | |
- name: Publish to Chromatic | |
uses: chromaui/action-next@v1 | |
# Chromatic GitHub Action options | |
with: | |
# 👇 Chromatic projectToken, refer to the manage page to obtain it. | |
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | |
exitOnceUploaded: true | |
# Turbosnap if this is not the main branch | |
onlyChanged: true | |
externals: "packages/theme/**/*.css" | |
skip: "changeset-release/*" | |
autoAcceptChanges: "main" | |
ignoreLastBuildOnBranch: "!(main)**" | |
traceChanged: "expanded" | |
env: | |
NODE_OPTIONS: "--max_old_space_size=6144" |