Skip to content

Commit

Permalink
fix: changesets 루트에 설치 되도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
brgndyy committed Aug 31, 2024
1 parent 71d2cc9 commit 5914c8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5914c8a

Please sign in to comment.