mirror of
				https://github.com/lingble/twenty.git
				synced 2025-11-03 22:27:57 +00:00 
			
		
		
		
	fix: fix storybook:build cache output path (#5336)
This commit is contained in:
		@@ -26,7 +26,6 @@ runs:
 | 
				
			|||||||
          .nx/cache
 | 
					          .nx/cache
 | 
				
			||||||
          node_modules/.cache
 | 
					          node_modules/.cache
 | 
				
			||||||
          packages/*/node_modules/.cache
 | 
					          packages/*/node_modules/.cache
 | 
				
			||||||
          packages/twenty-front/storybook-static
 | 
					 | 
				
			||||||
        key: tasks-cache-${{ github.ref_name }}-${{ inputs.tag }}-${{ steps.tasks-key.outputs.key }}${{ inputs.suffix }}-${{ github.sha }}
 | 
					        key: tasks-cache-${{ github.ref_name }}-${{ inputs.tag }}-${{ steps.tasks-key.outputs.key }}${{ inputs.suffix }}-${{ github.sha }}
 | 
				
			||||||
        restore-keys: |
 | 
					        restore-keys: |
 | 
				
			||||||
          tasks-cache-${{ github.ref_name }}-${{ inputs.tag }}-${{ steps.tasks-key.outputs.key }}${{ inputs.suffix }}-
 | 
					          tasks-cache-${{ github.ref_name }}-${{ inputs.tag }}-${{ steps.tasks-key.outputs.key }}${{ inputs.suffix }}-
 | 
				
			||||||
							
								
								
									
										4
									
								
								nx.json
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								nx.json
									
									
									
									
									
								
							@@ -110,7 +110,7 @@
 | 
				
			|||||||
      "cache": true,
 | 
					      "cache": true,
 | 
				
			||||||
      "dependsOn": ["^build"],
 | 
					      "dependsOn": ["^build"],
 | 
				
			||||||
      "inputs": ["^default", "excludeTests"],
 | 
					      "inputs": ["^default", "excludeTests"],
 | 
				
			||||||
      "outputs": ["{options.output-dir}"],
 | 
					      "outputs": ["{projectRoot}/{options.output-dir}"],
 | 
				
			||||||
      "options": {
 | 
					      "options": {
 | 
				
			||||||
        "cwd": "{projectRoot}",
 | 
					        "cwd": "{projectRoot}",
 | 
				
			||||||
        "command": "storybook build",
 | 
					        "command": "storybook build",
 | 
				
			||||||
@@ -190,7 +190,7 @@
 | 
				
			|||||||
      "executor": "nx:run-commands",
 | 
					      "executor": "nx:run-commands",
 | 
				
			||||||
      "options": {
 | 
					      "options": {
 | 
				
			||||||
        "cwd": "{projectRoot}",
 | 
					        "cwd": "{projectRoot}",
 | 
				
			||||||
        "command": "cross-var chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --build-script-name={args.targetPackageJsonScript} --exit-zero-on-changes={args.ci}",
 | 
					        "command": "cross-var chromatic --project-token=$CHROMATIC_PROJECT_TOKEN --build-script-name={args.targetPackageJsonScript} --exit-zero-on-changes {args.ci}",
 | 
				
			||||||
        "ci": false,
 | 
					        "ci": false,
 | 
				
			||||||
        "targetPackageJsonScript": "storybook:build:chromatic"
 | 
					        "targetPackageJsonScript": "storybook:build:chromatic"
 | 
				
			||||||
      },
 | 
					      },
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user