Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dmail committed Aug 20, 2024
1 parent aa2514d commit 4679083
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci_eslint_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ jobs:
# The result is stored in steps.playwright-version.outputs.version
- name: Get installed Playwright version
id: playwright-version
# https://stackoverflow.com/a/33426237/24573072
run: echo "::set-output name=version::$(npm ll -p --depth=0 playwright | grep -o "@.*")"

# Attempt to restore the correct Playwright browser binaries based on the
Expand All @@ -78,7 +79,8 @@ jobs:
# Note: Playwright's cache directory is hard coded because that's what it
# says to do in the docs. There doesn't appear to be a command that prints
# it out for us.
- uses: actions/cache@v3
- name: Attempt to restore playwright from cache
uses: actions/cache@v3
id: playwright-cache
with:
path: "~/.cache/ms-playwright"
Expand All @@ -96,7 +98,7 @@ jobs:
# If the Playwright browser binaries weren't able to be restored, we tell
# paywright to install everything for us.
- name: Install Playwright's dependencies
- name: Install Playwright with dependencies
if: steps.playwright-cache.outputs.cache-hit != 'true'
run: npx playwright install --with-deps

Expand Down

0 comments on commit 4679083

Please sign in to comment.