Skip to content

Commit 7755e02

Browse files
committed
fix(ci): make chmod step more robust in test workflow
Make the chmod step for lql binary conditional to prevent CI failures when node_modules/.bin/lql doesn't exist. pnpm workspace linking may not always create the binary symlink in node_modules/.bin, but pnpm exec still works correctly for workspace packages
1 parent 3719e83 commit 7755e02

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/run-tests.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ jobs:
6464
run: pnpm run build
6565

6666
- name: fix lql permissions
67-
run: chmod +x node_modules/.bin/lql
67+
run: |
68+
if [ -f node_modules/.bin/lql ]; then
69+
chmod +x node_modules/.bin/lql
70+
fi
6871
6972
- name: seed app_user
7073
run: |

0 commit comments

Comments
 (0)