Skip to content

Commit

Permalink
Chore: Cache playwright (#26432)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggazzo authored Aug 2, 2022
1 parent f555889 commit 0343424
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,17 @@ jobs:
done;
exit $s
- name: Cache Playwright binaries
uses: actions/cache@v3
id: cache-playwright
with:
path: |
~/.cache/ms-playwright
# This is the version of Playwright that we are using, if you are willing to upgrade, you should update this.
key: playwright-1.23.1

- name: Install Playwright
if: steps.cache-playwright.outputs.cache-hit != 'true'
run: |
cd ./apps/meteor
npx playwright install --with-deps
Expand Down Expand Up @@ -636,6 +646,15 @@ jobs:
done;
exit $s
- name: Cache Playwright binaries
uses: actions/cache@v3
id: cache-playwright
with:
path: |
~/.cache/ms-playwright
# This is the version of Playwright that we are using, if you are willing to upgrade, you should update this.
key: playwright-1.23.1

- name: Install Playwright
run: |
cd ./apps/meteor
Expand Down

0 comments on commit 0343424

Please sign in to comment.