Skip to content

Commit

Permalink
fix(ci): remove conditionals and always install playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Mar 28, 2024
1 parent ff09ba6 commit 4426718
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/actions/install-cache-deps/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,15 +50,13 @@ runs:
${{ runner.os }}-pnpm-store-
- name: 🎭 Set Playwright Version
if: ${{ inputs.BROWSER_BINARIES == true || inputs.BROWSER_BINARIES == 'true' }}
shell: bash
working-directory: ${{ inputs.WORKSPACE_ROOT }}
id: playwright-version
run: echo 'PLAYWRIGHT_VERSION=$(cat package.json | jq -r '.dependencies.playwright' || 'latest')' >> $GITHUB_ENV

- name: 🎭 Get Playwright Cache
uses: actions/cache@v4
if: ${{ inputs.BROWSER_BINARIES == true || inputs.BROWSER_BINARIES == 'true' }}
id: playwright-cache
with:
path: |
Expand All @@ -67,7 +65,6 @@ runs:

- name: Install and Cache Playwright
shell: bash
if: ${{ inputs.BROWSER_BINARIES == true || inputs.BROWSER_BINARIES == 'true' && steps.playwright-cache.outputs.cache-hit != 'true' }}
working-directory: ${{ inputs.WORKSPACE_ROOT }}
run: pnpx playwright install-deps

Expand Down

0 comments on commit 4426718

Please sign in to comment.