Skip to content

Commit fd5838c

Browse files
committed
fix: also modify build
1 parent 55a0a2b commit fd5838c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/on-pull-request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
env:
100100
API_KEY: ${{ secrets.API_KEY }}
101101
JAVA_OPTS: "-XX:MaxHeapSize=6g"
102-
run: yarn build:libs
102+
run: turbo run build --filter='./packages/*'
103103

104104
- name: Unit Test
105105
run: |
@@ -109,7 +109,7 @@ jobs:
109109
PACKAGES_CHANGED=$(git diff origin/$BASE_BRANCH...HEAD --name-only | grep "^packages/" || echo "")
110110
if [ -n "$PACKAGES_CHANGED" ]; then
111111
echo "Changes detected in packages/ directory, running selective tests"
112-
yarn turbo test:run --filter="./packages/*" --filter="[origin/$BASE_BRANCH...HEAD]" --continue
112+
yarn turbo test:run --filter="./packages/*" --filter="[origin/$BASE_BRANCH...HEAD]" --no-deps --continue
113113
else
114114
echo "No changes in packages/ directory, skipping package tests"
115115
fi

0 commit comments

Comments
 (0)