Skip to content

Commit

Permalink
ci: add caching of node and pthon dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
perzeuss committed Oct 20, 2024
1 parent 2ea5220 commit 425163a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/cypress-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,23 @@ jobs:
username: ${{ github.repository_owner }}
password: ${{ secrets.CYPRESS_CONTAINER_REGISTRY_TOKEN }}

- name: Cache Node.js modules
uses: actions/cache@v3
with:
path: |
web/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('web/package-lock.json', 'web/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Cache Python virtual environment
uses: actions/cache@v3
with:
path: api/.venv
key: ${{ runner.os }}-venv-${{ hashFiles('api/requirements.txt') }}
restore-keys: |
${{ runner.os }}-venv-
- name: Build and run dev container task
uses: devcontainers/[email protected]
with:
Expand Down

0 comments on commit 425163a

Please sign in to comment.