Skip to content

Commit 39c92e5

Browse files
committed
change inputs.clearLockFiles into boolean
1 parent c225075 commit 39c92e5

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,8 @@ on:
99
inputs:
1010
clearLockFiles:
1111
description: 'Clear yarn.lock files?'
12-
required: true
13-
default: 'no'
14-
type: choice
15-
options:
16-
- yes
17-
- no
12+
required: false
13+
type: boolean
1814

1915
jobs:
2016
tests:
@@ -49,7 +45,7 @@ jobs:
4945
run: npm install -g yarn
5046

5147
- name: Clear lock files
52-
if: ${{ inputs.clearLockFiles == 'yes' }}
48+
if: ${{ inputs.clearLockFiles }}
5349
run: rm yarn.lock packages/*/yarn.lock
5450

5551
- name: Install dependencies

0 commit comments

Comments
 (0)