Skip to content

Commit 941826e

Browse files
committed
🔧 fix(workflows): correct condition for running tests in setup-and-test action
1 parent 5361b0d commit 941826e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎.github/actions/setup-and-test/action.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ runs:
4545
shell: bash
4646
- name: Run tests
4747
run: |
48-
if [ "$RUN_TEST" = "0" ]; then
49-
echo "Skipping tests. Set RUN_TEST=1 to enable."
50-
else
48+
if [ "$RUN_TEST" = "1" ]; then
5149
pnpm vitest --coverage --reporter=verbose
50+
else
51+
echo "Skipping tests. Set RUN_TEST=1 to enable."
5252
fi
5353
env:
5454
SMOKE: 1

0 commit comments

Comments
 (0)