Skip to content

Commit

Permalink
chore: cache docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurgeron committed Feb 5, 2025
1 parent ed60e7d commit 90ad76d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/pr-tests-jest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,17 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Cache Docker images.
uses: ScribeMD/docker-cache@0.5.0
with:
# Make it also hash Dockerfile
key: docker-${{ runner.os }}-${{ hashFiles('docker/docker-compose.yaml) }}-${{ hashFiles('docker/fuel-core/Dockerfile') }}
restore-keys: |
docker-${{ runner.os }}-
- name: Start Test Node
run: pnpm node:up

- name: Generate .env
run: cp packages/app/.env.example packages/app/.env

Expand Down

0 comments on commit 90ad76d

Please sign in to comment.