From 6c292d3c3ee4e2e1bc0ea688e566b09e0a9eb819 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Thu, 1 Jan 2026 08:20:33 +0000 Subject: [PATCH] feat: Fix CI failure by correcting artifact paths The CI build was failing because the `build` job was not producing a `dist` directory at the root of the repository. Instead, each package in the monorepo was creating its own `dist` directory within the `packages` directory. This commit fixes the CI workflow by: - Changing the artifact upload path in the `build` job to `packages/**/dist` to correctly capture all build outputs. - Updating the artifact download path in the `test` and `release` jobs to `packages` to ensure the correct file structure is recreated for dependent jobs. --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6996d5ca..04ea7386 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,7 +58,7 @@ jobs: uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: build-output - path: dist + path: packages/**/dist retention-days: 1 test: @@ -80,7 +80,7 @@ jobs: - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: name: build-output - path: dist + path: packages - name: Run tests with coverage run: pnpm run test:coverage @@ -125,7 +125,7 @@ jobs: - uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0 with: name: build-output - path: dist + path: packages - name: Git config run: |