This is an automated email from the ASF dual-hosted git repository.

machristie pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/airavata-django-portal.git


The following commit(s) were added to refs/heads/develop by this push:
     new 58d78cc8 Cache npm and pypi downloaded dependencies
58d78cc8 is described below

commit 58d78cc8831874e7db23a8fa28d9af9420922557
Author: Marcus Christie <[email protected]>
AuthorDate: Tue Jan 10 15:56:33 2023 -0500

    Cache npm and pypi downloaded dependencies
---
 .github/workflows/build-and-test.yaml | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/.github/workflows/build-and-test.yaml 
b/.github/workflows/build-and-test.yaml
index b5e22a80..defdd942 100644
--- a/.github/workflows/build-and-test.yaml
+++ b/.github/workflows/build-and-test.yaml
@@ -9,6 +9,8 @@ jobs:
         uses: actions/setup-node@v3
         with:
           node-version-file: '.nvmrc'
+          cache: 'yarn'
+          cache-dependency-path: '**/yarn.lock'
       - name: Run ESLint on JavaScript code
         run: |
           ./lint_js.sh
@@ -44,6 +46,10 @@ jobs:
         uses: actions/setup-python@v4
         with:
           python-version: ${{ matrix.python-version }}
+          cache: pip
+          cache-dependency-path: |
+            requirements.txt
+            requirements-dev.txt
       - name: Install dependencies
         run: |
           pip install --upgrade pip setuptools wheel

Reply via email to