File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -21,12 +21,19 @@ inputs:
2121 default : false
2222 description : Should run the Playwright installation command
2323
24+ shell :
25+ required : true
26+ description : What shell to use
27+
28+ defaults :
29+ runs :
30+ shell : ${{ inputs.shell }}
31+
2432runs :
2533 using : composite
2634 steps :
2735 - name : Enable Corepack
2836 run : corepack enable
29- shell : bash
3037
3138 - name : Use Node.js 💻
3239 uses : actions/setup-node@v4
@@ -37,14 +44,11 @@ runs:
3744 - name : Install Dependencies (Focused)
3845 if : inputs.package-name != '' && inputs.install-deps == 'true'
3946 run : yarn workspaces focus ${{ inputs.package-name }}
40- shell : bash
4147
4248 - name : Install Dependencies (General)
4349 if : inputs.package-name == '' && inputs.install-deps == 'true'
4450 run : yarn install --immutable
45- shell : bash
4651
4752 - name : Install Playwright
4853 if : inputs.playwright == 'true' && inputs.install-deps == 'true'
4954 run : yarn workspaces foreach -A --include ${{ inputs.package-name }} run playwright install --with-deps
50- shell : bash
Original file line number Diff line number Diff line change 7777 with :
7878 package-name : ${{ matrix.lib.name }}
7979 playwright : ${{ matrix.lib.changes && matrix.lib.needsPlaywright }}
80+ shell : ${{ matrix.os == 'Windows' && 'pwsh' || 'bash' }}
8081
8182 - name : Run Tests
8283 if : matrix.lib.changes
You can’t perform that action at this time.
0 commit comments