Skip to content

Commit d006ad6

Browse files
committed
fix: do not forward args to storybook:build
1 parent 0f52efb commit d006ad6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci-front.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
touch .env
107107
echo "REACT_APP_SERVER_BASE_URL: $REACT_APP_SERVER_BASE_URL" >> .env
108108
- name: Publish to Chromatic
109-
run: npx nx chromatic twenty-front --configuration=ci
109+
run: npx nx run twenty-front:chromatic:ci
110110
front-task:
111111
runs-on: ubuntu-latest
112112
env:

nx.json

+6-2
Original file line numberDiff line numberDiff line change
@@ -219,9 +219,13 @@
219219
"options": {
220220
"cwd": "{projectRoot}",
221221
"commands": [
222-
"nx storybook:build {projectName} --configuration=test",
222+
{
223+
"command": "nx storybook:build {projectName} --configuration=test",
224+
"forwardAllArgs": false
225+
},
223226
"cross-var chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --storybook-build-dir=storybook-static {args.ci}"
224-
]
227+
],
228+
"parallel": false
225229
},
226230
"configurations": {
227231
"ci": {

0 commit comments

Comments
 (0)