Skip to content

Commit f9af7fe

Browse files
committed
chore(ci): simplify the steps
1 parent 836fda9 commit f9af7fe

3 files changed

Lines changed: 4 additions & 50 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ jobs:
173173
if: ${{ !github.event.act }}
174174
env:
175175
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
176-
run: npm run chromatic
176+
run: make chromatic
177177

178178
- name: Set up Docker buildx
179179
uses: docker/setup-buildx-action@v3

.github/workflows/pr.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ format:
7171
format-check:
7272
npm run format:check
7373

74+
chromatic:
75+
npm run chromatic
76+
7477
simulate-cicd-with-push:
7578
# Install `act` through a package manager to make it working
7679
#

0 commit comments

Comments
 (0)