From 4ddb5ef4602aae221c14a2df917f355d6b6a3641 Mon Sep 17 00:00:00 2001 From: Matthew Wang Date: Mon, 24 Apr 2023 14:52:03 -0700 Subject: [PATCH] Use chromatic action instead --- .github/workflows/chromatic.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/chromatic.yml b/.github/workflows/chromatic.yml index b504b74..236b505 100644 --- a/.github/workflows/chromatic.yml +++ b/.github/workflows/chromatic.yml @@ -45,6 +45,7 @@ jobs: node-version: ${{ matrix.node-version }} - run: npm install - run: npm run build-storybook - - run: npx chromatic -d storybook-static + - name: Publish to Chromatic + uses: chromaui/action@v1 env: CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}