From 7cf4835969de773b35ff0df35b1758fe0fe31556 Mon Sep 17 00:00:00 2001 From: Andriy Leliv Date: Wed, 2 Sep 2020 16:52:04 +0300 Subject: [PATCH] Update yml: actions/cache --- .github/workflows/demo-deploy-s3.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/demo-deploy-s3.yml b/.github/workflows/demo-deploy-s3.yml index 70244f93..efb2ca19 100644 --- a/.github/workflows/demo-deploy-s3.yml +++ b/.github/workflows/demo-deploy-s3.yml @@ -19,6 +19,13 @@ jobs: steps: - uses: actions/checkout@v1 - name: cache node modules + uses: actions/cache@v1 + with: + path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS + key: npm-${{ hashFiles('package-lock.json') }} + restore-keys: | + npm-${{ hashFiles('package-lock.json') }} + npm- - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 with: