From 1a1a5063249c58a904a39146ce5c5634a52f151d Mon Sep 17 00:00:00 2001 From: Keith Williams Date: Tue, 21 Jan 2025 10:50:53 -0300 Subject: [PATCH] chore: Remove Chromatic GitHub workflow (#18780) --- .github/workflows/check-if-ui-has-changed.yml | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 .github/workflows/check-if-ui-has-changed.yml diff --git a/.github/workflows/check-if-ui-has-changed.yml b/.github/workflows/check-if-ui-has-changed.yml deleted file mode 100644 index 1a0bd8b9b8..0000000000 --- a/.github/workflows/check-if-ui-has-changed.yml +++ /dev/null @@ -1,39 +0,0 @@ -# .github/workflows/chromatic.yml - -# Workflow name -name: "Chromatic" - -# Event for the workflow -on: - pull_request_target: # So we can test on forks - branches: - - main - paths: - - apps/storybook/** - - packages/ui/** - workflow_dispatch: -concurrency: - group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} - cancel-in-progress: true - -# List of jobs -jobs: - chromatic-deployment: - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - ref: ${{ github.event.pull_request.head.sha }} # So we can test on forks - fetch-depth: 0 - - name: Install dependencies - run: yarn - # 👇 Adds Chromatic as a step in the workflow - - name: Publish to Chromatic - uses: chromaui/action@v1 - # Options required to the GitHub Chromatic Action - with: - # 👇 Chromatic projectToken, refer to the manage page to obtain it. - projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} - workingDir: "apps/storybook" - buildScriptName: "build"