An open source design system that's fully customizable and agent ready
TypeScript
fix(ci): treat sandbox and storybook builds symmetrically (#1052)
rubyycheungc27d576352ac
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex c2fe5c3405..792511f4e6 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -130,7 +130,7 @@ jobs:retention-days: 30- name: Upload Sandbox artifact- if: github.event_name == 'pull_request' && hashFiles('apps/sandbox/out/**') != ''+ if: github.event_name == 'pull_request'uses: actions/upload-artifact@v4with:name: sandbox-${{ steps.urls.outputs.short_hash }}@@ -176,7 +176,6 @@ jobs:with:name: sandbox-${{ needs.build.outputs.short_hash }}path: sandbox-dist- continue-on-error: true- name: Prepare PR previewrun: |@@ -185,10 +184,8 @@ jobs:mkdir -p deploy/pr/${PR_NUMBER}cp -r storybook-dist/* deploy/pr/${PR_NUMBER}/- if [ -d "sandbox-dist" ]; then- mkdir -p deploy/pr/${PR_NUMBER}/sandbox- cp -r sandbox-dist/* deploy/pr/${PR_NUMBER}/sandbox/- fi+ mkdir -p deploy/pr/${PR_NUMBER}/sandbox+ cp -r sandbox-dist/* deploy/pr/${PR_NUMBER}/sandbox/touch deploy/.nojekyll