Skip to content

Commit

Permalink
Set the Playwright docker version file and cache docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet committed Apr 3, 2024
1 parent 1b07a2b commit db03fe3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ jobs:
with:
node-version: '18'
cache: 'pnpm'
- name: Cache Docker images
uses: ScribeMD/docker-cache@0.3.7
with:
key: docker-v1-${{ runner.os }}-${{ hashFiles('.hass/config/.HA_VERSION', '.playwright_docker_version') }}
- name: Install deps
run: pnpm install
- name: E2E tests
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
with:
node-version: '18'
cache: 'pnpm'
- name: Cache Docker images
uses: ScribeMD/docker-cache@0.3.7
with:
key: docker-v1-${{ runner.os }}-${{ hashFiles('.hass/config/.HA_VERSION', '.playwright_docker_version') }}
- name: Install
run: pnpm install
- name: E2E tests
Expand Down
1 change: 1 addition & 0 deletions .playwright_docker_version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v1.42.1-jammy

0 comments on commit db03fe3

Please sign in to comment.