Skip to content

Commit 8dbc63d

Browse files
committed
Fix init action not installing deps
1 parent 2db7fc2 commit 8dbc63d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/actions/src/init/action.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ branding:
88
inputs:
99
package-name:
1010
required: false
11-
default: null
11+
default: ''
1212
description: Name of the workspace/package you're initializing
1313

1414
install-deps:
@@ -35,16 +35,16 @@ runs:
3535
cache: yarn
3636

3737
- name: Install Dependencies (Focused)
38-
if: inputs.workspace-name != null && inputs.install-deps
38+
if: inputs.workspace-name != '' && inputs.install-deps
3939
run: yarn workspaces focus ${{ inputs.package-name }}
4040
shell: bash
4141

4242
- name: Install Dependencies (General)
43-
if: inputs.package-name == null && inputs.install-deps
43+
if: inputs.package-name == '' && inputs.install-deps
4444
run: yarn install --immutable
4545
shell: bash
4646

4747
- name: Install Playwright
48-
if: inputs.playwright == 'true' && inputs.install-deps
48+
if: inputs.playwright && inputs.install-deps
4949
run: yarn playwright install --with-deps
5050
shell: bash

0 commit comments

Comments
 (0)