Skip to content

Commit

Permalink
Merge pull request #92 from whereby/thomas/cache-e2e-tests
Browse files Browse the repository at this point in the history
common: Cache e2e tests on CI
  • Loading branch information
thyal authored Feb 20, 2024
2 parents da6930a + 9325b4b commit 8b8d5a3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,14 @@ jobs:
cache-dependency-path: |
yarn.lock
- name: Cache turbo test setup
uses: actions/cache@v3
with:
path: .turbo
key: ${{ runner.os }}-turbo-${{ github.sha }}
restore-keys: |
${{ runner.os }}-turbo-
- name: Install dependencies
run: yarn install --frozen-lockfile

Expand All @@ -33,7 +41,7 @@ jobs:
if: steps.playwright-cache.outputs.cache-hit != 'true'

- name: Run Playwright tests
run: yarn test:e2e
run: yarn test:e2e --cache-dir=.turbo
env:
WHEREBY_API_KEY: ${{ secrets.WHEREBY_API_KEY }}

Expand Down

0 comments on commit 8b8d5a3

Please sign in to comment.