Skip to content

Commit

Permalink
Cache Docker images (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
elchininet authored Dec 20, 2023
1 parent d0408ba commit 46b8cc4
Show file tree
Hide file tree
Showing 2 changed files with 8 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 @@ -23,6 +23,10 @@ jobs:
path: |
~/.cache
key: dependencies-v1-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Cache Docker images
uses: ScribeMD/docker-cache@0.3.6
with:
key: docker-v1-${{ runner.os }}-${{ hashFiles('package.json') }}
- name: Install deps
run: yarn install --frozen-lockfile
- name: E2E tests
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:
path: |
~/.cache
key: dependencies-v1-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
- name: Cache Docker images
uses: ScribeMD/docker-cache@0.3.6
with:
key: docker-v1-${{ runner.os }}-${{ hashFiles('package.json') }}
- name: Install
run: yarn install --frozen-lockfile
- name: E2E tests
Expand Down

0 comments on commit 46b8cc4

Please sign in to comment.