mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: update storybook (#11936)
This commit is contained in:
@@ -516,7 +516,8 @@ jobs:
|
||||
NODE_OPTIONS: "--max_old_space_size=4096"
|
||||
STORYBOOK: true
|
||||
with:
|
||||
buildScriptName: "storybook:build"
|
||||
# Do a fast, testing build for change previews
|
||||
buildScriptName: "storybook:ci"
|
||||
exitOnceUploaded: true
|
||||
# This will prevent CI from failing when Chromatic detects visual changes
|
||||
exitZeroOnChanges: true
|
||||
@@ -530,6 +531,8 @@ jobs:
|
||||
# Run TurboSnap to trace file dependencies to related stories
|
||||
# and tell chromatic to only take snapshots of relevent stories
|
||||
onlyChanged: true
|
||||
# Avoid uploading single files, because that's very slow
|
||||
zip: true
|
||||
|
||||
# This is a separate step for mainline only that auto accepts and changes
|
||||
# instead of holding CI up. Since we squash/merge, this is defensive to
|
||||
@@ -547,6 +550,7 @@ jobs:
|
||||
autoAcceptChanges: true
|
||||
# This will prevent CI from failing when Chromatic detects visual changes
|
||||
exitZeroOnChanges: true
|
||||
# Do a full build with documentation for mainline builds
|
||||
buildScriptName: "storybook:build"
|
||||
projectToken: 695c25b6cb65
|
||||
workingDir: "./site"
|
||||
@@ -554,6 +558,8 @@ jobs:
|
||||
# Run TurboSnap to trace file dependencies to related stories
|
||||
# and tell chromatic to only take snapshots of relevent stories
|
||||
onlyChanged: true
|
||||
# Avoid uploading single files, because that's very slow
|
||||
zip: true
|
||||
|
||||
offlinedocs:
|
||||
name: offlinedocs
|
||||
@@ -726,7 +732,7 @@ jobs:
|
||||
|
||||
# Define specific tags
|
||||
tags=("$tag" "main" "latest")
|
||||
|
||||
|
||||
# Create and push a multi-arch manifest for each tag
|
||||
# we are adding `latest` tag and keeping `main` for backward
|
||||
# compatibality
|
||||
|
||||
Reference in New Issue
Block a user