Skip to content

Commit 9ffe7be

Browse files
authored
Force Bash for unit tests (#3044)
1 parent eeeed8b commit 9ffe7be

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/nodejs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,14 +50,17 @@ jobs:
5050
npm install
5151
5252
- name: Lint
53+
shell: bash
5354
run: |
5455
[ "$CODE_CHANGED" = "true" ] && npm run lint || exit 0
5556
5657
- name: Unit test
58+
shell: bash
5759
run: |
5860
[ "$CODE_CHANGED" = "true" ] && npm run test:unit || exit 0
5961
6062
- name: ECMAScript module test
63+
shell: bash
6164
run: |
6265
[ "$CODE_CHANGED" = "true" ] && npm run test:esm || exit 0
6366
@@ -111,13 +114,16 @@ jobs:
111114
bun install
112115
113116
- name: Lint
117+
shell: bash
114118
run: |
115119
[ "$CODE_CHANGED" = "true" ] && bun run lint || exit 0
116120
117121
- name: Unit test
122+
shell: bash
118123
run: |
119124
[ "$CODE_CHANGED" = "true" ] && bun run test:unit-bun || exit 0
120125
121126
- name: ECMAScript module test
127+
shell: bash
122128
run: |
123129
[ "$CODE_CHANGED" = "true" ] && bun run test:esm || exit 0

0 commit comments

Comments
 (0)