Skip to content

Commit 84f83ab

Browse files
committed
fix: use bash shell for cross-platform test steps
Windows runners default to PowerShell which doesn't support bash commands like 'which'. Set defaults.run.shell: bash for the test job.
1 parent 189b739 commit 84f83ab

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
test:
1111
name: Test on ${{ matrix.os }}
1212
runs-on: ${{ matrix.os }}
13+
defaults:
14+
run:
15+
shell: bash
1316

1417
strategy:
1518
matrix:
@@ -41,7 +44,6 @@ jobs:
4144
run: |
4245
vlt --help || echo "vlt --help failed"
4346
which vlt || echo "vlt not found in PATH"
44-
ls -la $(npm bin -g)/ || echo "Could not list global bin directory"
4547
4648
- name: Check npm and node versions
4749
run: |

0 commit comments

Comments
 (0)