Skip to content

Commit b74dc00

Browse files
committed
Run chromatic on fork branches
1 parent ba5b510 commit b74dc00

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- uses: bahmutov/npm-install@v1
3939
- run: yarn build
4040
- run: yarn test
41-
- run: npx chromatic --exit-zero-on-changes
41+
- run: npx chromatic --exit-zero-on-changes --ci --project-token c1fab2a84f78.
4242
env:
4343
CHROMATIC_PROJECT_TOKEN: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
4444

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@
2222
"format:check": "yarn _format --list-different",
2323
"storybook": "yarn build && yarn only-include-used-icons && start-storybook -p 6006",
2424
"build-storybook": "yarn build && yarn only-include-used-icons && build-storybook",
25-
"only-include-used-icons": "node dist/bin/only-include-used-icons.js",
26-
"chromatic": "npx chromatic"
25+
"only-include-used-icons": "node dist/bin/only-include-used-icons.js"
2726
},
2827
"bin": {
2928
"copy-dsfr-to-public": "dist/bin/copy-dsfr-to-public.js",

0 commit comments

Comments
 (0)