Skip to content

Commit

Permalink
wip: pass workspace dir to playwright cacher
Browse files Browse the repository at this point in the history
  • Loading branch information
dgrebb committed Jan 16, 2024
1 parent eafac73 commit 039199d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/actions/cache-playwright/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
name: "Install and Cache Playwright"
description: "Sets up a cache and/or installs Playwright and its binaries."

inputs:
WORKSPACE_ROOT:
description: "The workspace root."
required: true

runs:
using: "composite"
steps:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/backstop-sanity-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@ jobs:
WORKSPACE_ROOT: ${{ steps.base.outputs.WORKSPACE_ROOT }}

- uses: ./actions/.github/actions/cache-playwright
with:
WORKSPACE_ROOT: ${{ steps.base.outputs.WORKSPACE_ROOT }}

- name: "🎭 Run `npm run sanity-test-playwright`"
continue-on-error: true
Expand Down

0 comments on commit 039199d

Please sign in to comment.