-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0532af6
commit 4026f72
Showing
1 changed file
with
36 additions
and
36 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,37 @@ | ||
name: Chromatic | ||
on: push | ||
# name: Chromatic | ||
# on: push | ||
|
||
jobs: | ||
chromatic: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 22 | ||
- uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
- name: install | ||
run: pnpm install | ||
- name: build storybook | ||
run: pnpm build-storybook | ||
- name: run chromatic | ||
run: pnpm chromatic | ||
env: | ||
CHROMATIC_PROJECT_TOKEN: chpt_8adcafffd1b8cdc | ||
# - name: Run Chromatic | ||
# id: run-chromatic-action | ||
# uses: chromaui/action-next@v1 | ||
# with: | ||
# onlyChanged: true | ||
# traceChanged: true | ||
# diagnostics: true | ||
# exitZeroOnChanges: true | ||
# exitOnceUploaded: true | ||
# autoAcceptChanges: "main" | ||
# env: | ||
# CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
# STORYBOOK_GITHUB_SHA: ${{ github.event.pull_request.head.sha }} | ||
# jobs: | ||
# chromatic: | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
# with: | ||
# fetch-depth: 0 | ||
# - uses: actions/setup-node@v3 | ||
# with: | ||
# node-version: 22 | ||
# - uses: pnpm/action-setup@v4 | ||
# with: | ||
# version: 9 | ||
# - name: install | ||
# run: pnpm install | ||
# - name: build storybook | ||
# run: pnpm build-storybook | ||
# - name: run chromatic | ||
# run: pnpm chromatic | ||
# env: | ||
# CHROMATIC_PROJECT_TOKEN: chpt_8adcafffd1b8cdc | ||
# # - name: Run Chromatic | ||
# # id: run-chromatic-action | ||
# # uses: chromaui/action-next@v1 | ||
# # with: | ||
# # onlyChanged: true | ||
# # traceChanged: true | ||
# # diagnostics: true | ||
# # exitZeroOnChanges: true | ||
# # exitOnceUploaded: true | ||
# # autoAcceptChanges: "main" | ||
# # env: | ||
# # CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
# # STORYBOOK_GITHUB_SHA: ${{ github.event.pull_request.head.sha }} |