From d695b9c43f35f54231bcc2d1cc12a77a38301632 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:08:40 +0900 Subject: [PATCH 01/18] =?UTF-8?q?chore:=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= =?UTF-8?q?=EB=A5=BC=20=EC=9C=84=ED=95=9C=20=EB=B2=84=EC=A0=84=20=EC=97=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/react-metronome/package.json | 2 +- packages/react-wave-form/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-metronome/package.json b/packages/react-metronome/package.json index 77ee3e3..6b1a725 100644 --- a/packages/react-metronome/package.json +++ b/packages/react-metronome/package.json @@ -1,6 +1,6 @@ { "name": "brgndy-react-metronome", - "version": "1.1.0", + "version": "1.1.1", "description": "metronome library component for react", "main": "dist/cjs/index.js", "files": [ diff --git a/packages/react-wave-form/package.json b/packages/react-wave-form/package.json index 6ea66e4..315c3ff 100644 --- a/packages/react-wave-form/package.json +++ b/packages/react-wave-form/package.json @@ -1,6 +1,6 @@ { "name": "brgndy-react-wave-form", - "version": "1.1.0", + "version": "1.1.1", "description": "react audio waveform library like soundcloud", "main": "dist/cjs/index.js", "types": "dist/index.d.ts", From 8b79ff9830a8a435a9382e039e35ef457884e06d Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:10:34 +0900 Subject: [PATCH 02/18] =?UTF-8?q?fix:=20ci=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20pnpm=20=EC=84=A4=EC=B9=98=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c548228..62df3c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,9 @@ jobs: with: node-version: '20' + - name: Install pnpm + run: npm install -g pnpm + - name: Install dependencies run: pnpm install From 64495e5f7febe8c3892fcb30af71860c4ff33334 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:13:43 +0900 Subject: [PATCH 03/18] =?UTF-8?q?fix:=20CI=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=ED=99=98=EA=B2=BD=EB=B3=80=EC=88=98=20=EC=98=A4?= =?UTF-8?q?=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 62df3c9..9fb8c04 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,10 @@ jobs: - name: Get changed workspaces id: changesets run: | - echo "CHANGED_WORKSPACES=$(pnpm list --depth=-1 --json | jq -r '.[] | select(.dev !== true) | select(.updated === true) | .path' | tr '\n' ' ')" >> $GITHUB_ENV + CHANGED_WORKSPACES=$(pnpm list --depth=-1 --json | jq -r '.[] | select(.dev !== true) | select(.updated === true) | .name') + echo "Changed workspaces: $CHANGED_WORKSPACES" + echo "CHANGED_WORKSPACES=$CHANGED_WORKSPACES" >> $GITHUB_ENV - name: Run tests for changed packages + if: env.CHANGED_WORKSPACES != '' run: pnpm -r --filter="${{ env.CHANGED_WORKSPACES }}" test From 1f0157ee18eaed2e65c73bfb3aed8bb7571cccd9 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:14:58 +0900 Subject: [PATCH 04/18] =?UTF-8?q?fix:=20ci=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fb8c04..3fcd321 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: - name: Get changed workspaces id: changesets run: | - CHANGED_WORKSPACES=$(pnpm list --depth=-1 --json | jq -r '.[] | select(.dev !== true) | select(.updated === true) | .name') + CHANGED_WORKSPACES=$(pnpm list --depth=-1 --json | jq -r '.[] | select(.dev != true) | select(.updated == true) | .name') echo "Changed workspaces: $CHANGED_WORKSPACES" echo "CHANGED_WORKSPACES=$CHANGED_WORKSPACES" >> $GITHUB_ENV From ee1dd00a0b6b5186c309a1e7261b920e12ddeb64 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:16:19 +0900 Subject: [PATCH 05/18] =?UTF-8?q?test:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=BD=98=EC=86=94=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/react-metronome/src/App.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-metronome/src/App.tsx b/packages/react-metronome/src/App.tsx index da6ed32..c5715c8 100644 --- a/packages/react-metronome/src/App.tsx +++ b/packages/react-metronome/src/App.tsx @@ -1,6 +1,7 @@ import Metronome from './lib/components/Metronome/Metronome'; export default function App() { + console.log('test console.'); return ( From ccf96d0f878422cc05e05a2a348d084abef1c3ce Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:17:22 +0900 Subject: [PATCH 06/18] =?UTF-8?q?fix:=20ci=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3fcd321..a0ec399 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,10 @@ jobs: - name: Get changed workspaces id: changesets run: | + # Debugging: Output the result of pnpm list + pnpm list --depth=-1 --json + + # Extract changed workspaces CHANGED_WORKSPACES=$(pnpm list --depth=-1 --json | jq -r '.[] | select(.dev != true) | select(.updated == true) | .name') echo "Changed workspaces: $CHANGED_WORKSPACES" echo "CHANGED_WORKSPACES=$CHANGED_WORKSPACES" >> $GITHUB_ENV From 8e58638078ea8ae904388c16b6fb90cff5120083 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:18:45 +0900 Subject: [PATCH 07/18] =?UTF-8?q?fix:=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0ec399..9406351 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,11 +26,8 @@ jobs: - name: Get changed workspaces id: changesets run: | - # Debugging: Output the result of pnpm list - pnpm list --depth=-1 --json - - # Extract changed workspaces - CHANGED_WORKSPACES=$(pnpm list --depth=-1 --json | jq -r '.[] | select(.dev != true) | select(.updated == true) | .name') + # Use git diff to find changed packages + CHANGED_WORKSPACES=$(git diff --name-only origin/main...HEAD -- packages/ | grep 'packages/' | cut -d '/' -f 2 | sort | uniq) echo "Changed workspaces: $CHANGED_WORKSPACES" echo "CHANGED_WORKSPACES=$CHANGED_WORKSPACES" >> $GITHUB_ENV From 71d2cc96c65821a51b222144643724f8bc00543a Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:20:50 +0900 Subject: [PATCH 08/18] =?UTF-8?q?fix:=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9406351..13547b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,11 +23,13 @@ jobs: - name: Install dependencies run: pnpm install + - name: Install changesets + run: pnpm install @changesets/cli + - name: Get changed workspaces id: changesets run: | - # Use git diff to find changed packages - CHANGED_WORKSPACES=$(git diff --name-only origin/main...HEAD -- packages/ | grep 'packages/' | cut -d '/' -f 2 | sort | uniq) + CHANGED_WORKSPACES=$(pnpm changeset status --since-ref main --verbose | grep '^-' | cut -d ' ' -f 2 | tr '\n' ' ') echo "Changed workspaces: $CHANGED_WORKSPACES" echo "CHANGED_WORKSPACES=$CHANGED_WORKSPACES" >> $GITHUB_ENV From 5914c8ac998ba4eeee4153d0081124373f2d1e84 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:21:58 +0900 Subject: [PATCH 09/18] =?UTF-8?q?fix:=20changesets=20=EB=A3=A8=ED=8A=B8?= =?UTF-8?q?=EC=97=90=20=EC=84=A4=EC=B9=98=20=EB=90=98=EB=8F=84=EB=A1=9D=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13547b0..6ceeccb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,15 +24,15 @@ jobs: run: pnpm install - name: Install changesets - run: pnpm install @changesets/cli + run: pnpm install @changesets/cli -w - name: Get changed workspaces id: changesets run: | + # Check for changed workspaces CHANGED_WORKSPACES=$(pnpm changeset status --since-ref main --verbose | grep '^-' | cut -d ' ' -f 2 | tr '\n' ' ') echo "Changed workspaces: $CHANGED_WORKSPACES" echo "CHANGED_WORKSPACES=$CHANGED_WORKSPACES" >> $GITHUB_ENV - name: Run tests for changed packages if: env.CHANGED_WORKSPACES != '' - run: pnpm -r --filter="${{ env.CHANGED_WORKSPACES }}" test From c3038b827ef3ec077fc69516093405f6f64fd9d1 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:23:48 +0900 Subject: [PATCH 10/18] =?UTF-8?q?fix:=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=97=90=EB=9F=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6ceeccb..2e2ed80 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,3 +36,4 @@ jobs: - name: Run tests for changed packages if: env.CHANGED_WORKSPACES != '' + run: pnpm -r --filter "${{ env.CHANGED_WORKSPACES }}" test From fef5a43c66a3adadcf2fab103cda5152ad751ab9 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:25:31 +0900 Subject: [PATCH 11/18] =?UTF-8?q?fix:=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=97=90=EB=9F=AC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e2ed80..b2029a0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,6 +11,8 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v4 @@ -26,6 +28,9 @@ jobs: - name: Install changesets run: pnpm install @changesets/cli -w + - name: Fetch main branch + run: git fetch origin main:main + - name: Get changed workspaces id: changesets run: | From e352184e17247d78a84be88cf8ba8a41d2733612 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:26:28 +0900 Subject: [PATCH 12/18] =?UTF-8?q?test:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=BD=98=EC=86=94=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/react-metronome/src/App.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react-metronome/src/App.tsx b/packages/react-metronome/src/App.tsx index c5715c8..da6ed32 100644 --- a/packages/react-metronome/src/App.tsx +++ b/packages/react-metronome/src/App.tsx @@ -1,7 +1,6 @@ import Metronome from './lib/components/Metronome/Metronome'; export default function App() { - console.log('test console.'); return ( From 6cbe517922638977698e1367439742f6f5a10c23 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:31:23 +0900 Subject: [PATCH 13/18] =?UTF-8?q?fix:=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2029a0..d17fe4e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,20 +25,27 @@ jobs: - name: Install dependencies run: pnpm install - - name: Install changesets - run: pnpm install @changesets/cli -w - - name: Fetch main branch - run: git fetch origin main:main + run: git fetch origin main - name: Get changed workspaces id: changesets run: | - # Check for changed workspaces - CHANGED_WORKSPACES=$(pnpm changeset status --since-ref main --verbose | grep '^-' | cut -d ' ' -f 2 | tr '\n' ' ') + CHANGED_WORKSPACES=$(git diff --name-only origin/main...HEAD -- packages/ | grep 'packages/' | cut -d '/' -f 2 | sort | uniq) echo "Changed workspaces: $CHANGED_WORKSPACES" echo "CHANGED_WORKSPACES=$CHANGED_WORKSPACES" >> $GITHUB_ENV + - name: Add empty changeset if necessary + if: env.CHANGED_WORKSPACES != '' + run: | + if pnpm changeset status --since-ref main --verbose | grep -q 'Some packages have been changed'; then + pnpm changeset add --empty + fi + - name: Run tests for changed packages if: env.CHANGED_WORKSPACES != '' - run: pnpm -r --filter "${{ env.CHANGED_WORKSPACES }}" test + run: | + for package in ${{ env.CHANGED_WORKSPACES }}; do + echo "Running tests for package: $package" + pnpm -r --filter "./packages/$package" test + done From 1e2185e3afc9889a55beb98f45098e5e7c03b2f5 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:31:35 +0900 Subject: [PATCH 14/18] =?UTF-8?q?test:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=BD=98=EC=86=94=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/react-metronome/src/App.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-metronome/src/App.tsx b/packages/react-metronome/src/App.tsx index da6ed32..c5715c8 100644 --- a/packages/react-metronome/src/App.tsx +++ b/packages/react-metronome/src/App.tsx @@ -1,6 +1,7 @@ import Metronome from './lib/components/Metronome/Metronome'; export default function App() { + console.log('test console.'); return ( From 2fe24c202c2a08583c48aa511468984c5c20f0fd Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:33:28 +0900 Subject: [PATCH 15/18] =?UTF-8?q?fix:=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d17fe4e..9980e5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: - name: Get changed workspaces id: changesets run: | - CHANGED_WORKSPACES=$(git diff --name-only origin/main...HEAD -- packages/ | grep 'packages/' | cut -d '/' -f 2 | sort | uniq) + CHANGED_WORKSPACES=$(git diff --name-only origin/main...HEAD -- packages/ | grep 'packages/' | cut -d '/' -f 2 | sort | uniq | tr '\n' ',') echo "Changed workspaces: $CHANGED_WORKSPACES" echo "CHANGED_WORKSPACES=$CHANGED_WORKSPACES" >> $GITHUB_ENV @@ -45,7 +45,10 @@ jobs: - name: Run tests for changed packages if: env.CHANGED_WORKSPACES != '' run: | - for package in ${{ env.CHANGED_WORKSPACES }}; do - echo "Running tests for package: $package" - pnpm -r --filter "./packages/$package" test + IFS=',' read -r -a packages <<< "${CHANGED_WORKSPACES}" + for package in "${packages[@]}"; do + if [ -n "$package" ]; then + echo "Running tests for package: $package" + pnpm -r --filter "./packages/$package" test + fi done From 81d28ce21ece3de8cff7669036d1bf82840d086f Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:35:49 +0900 Subject: [PATCH 16/18] =?UTF-8?q?refactor:=20=ED=85=8C=EC=8A=A4=ED=8A=B8?= =?UTF-8?q?=20=ED=8C=A8=ED=82=A4=EC=A7=80=20=EB=B6=84=EA=B8=B0=20=EC=B2=98?= =?UTF-8?q?=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9980e5b..8d7209f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,6 +31,7 @@ jobs: - name: Get changed workspaces id: changesets run: | + # Fetch the list of changed files and extract unique package names CHANGED_WORKSPACES=$(git diff --name-only origin/main...HEAD -- packages/ | grep 'packages/' | cut -d '/' -f 2 | sort | uniq | tr '\n' ',') echo "Changed workspaces: $CHANGED_WORKSPACES" echo "CHANGED_WORKSPACES=$CHANGED_WORKSPACES" >> $GITHUB_ENV @@ -49,6 +50,6 @@ jobs: for package in "${packages[@]}"; do if [ -n "$package" ]; then echo "Running tests for package: $package" - pnpm -r --filter "./packages/$package" test + pnpm -r --filter "$package" test fi done From 3c658eedf60cb745df7abf5c3e462c628f0e5ac3 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:36:55 +0900 Subject: [PATCH 17/18] =?UTF-8?q?test:=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20?= =?UTF-8?q?=EC=BD=98=EC=86=94=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/react-metronome/src/App.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/react-metronome/src/App.tsx b/packages/react-metronome/src/App.tsx index c5715c8..da6ed32 100644 --- a/packages/react-metronome/src/App.tsx +++ b/packages/react-metronome/src/App.tsx @@ -1,7 +1,6 @@ import Metronome from './lib/components/Metronome/Metronome'; export default function App() { - console.log('test console.'); return ( From 6f7483edd449b07a7f90d2edc3f97034f5ee4757 Mon Sep 17 00:00:00 2001 From: brgndy Date: Sun, 1 Sep 2024 00:37:53 +0900 Subject: [PATCH 18/18] =?UTF-8?q?fix:=20=EC=8A=A4=ED=81=AC=EB=A6=BD?= =?UTF-8?q?=ED=8A=B8=20=ED=85=8C=EC=8A=A4=ED=8A=B8=20=EA=B4=80=EB=A0=A8=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8d7209f..9980e5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,6 @@ jobs: - name: Get changed workspaces id: changesets run: | - # Fetch the list of changed files and extract unique package names CHANGED_WORKSPACES=$(git diff --name-only origin/main...HEAD -- packages/ | grep 'packages/' | cut -d '/' -f 2 | sort | uniq | tr '\n' ',') echo "Changed workspaces: $CHANGED_WORKSPACES" echo "CHANGED_WORKSPACES=$CHANGED_WORKSPACES" >> $GITHUB_ENV @@ -50,6 +49,6 @@ jobs: for package in "${packages[@]}"; do if [ -n "$package" ]; then echo "Running tests for package: $package" - pnpm -r --filter "$package" test + pnpm -r --filter "./packages/$package" test fi done