Skip to content

Commit

Permalink
change inputs.clearLockFiles into boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
PetrHeinz committed Mar 7, 2024
1 parent c225075 commit 39c92e5
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 39c92e5

Please sign in to comment.