From 39c92e56f985258446f47e01c6e044ed15b060a8 Mon Sep 17 00:00:00 2001 From: Petr Heinz Date: Thu, 7 Mar 2024 12:03:45 +0100 Subject: [PATCH] change inputs.clearLockFiles into boolean --- .github/workflows/tests.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bcd0de5..890af01 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -9,12 +9,8 @@ on: inputs: clearLockFiles: description: 'Clear yarn.lock files?' - required: true - default: 'no' - type: choice - options: - - yes - - no + required: false + type: boolean jobs: tests: @@ -49,7 +45,7 @@ jobs: run: npm install -g yarn - name: Clear lock files - if: ${{ inputs.clearLockFiles == 'yes' }} + if: ${{ inputs.clearLockFiles }} run: rm yarn.lock packages/*/yarn.lock - name: Install dependencies