From 6387a3c63251c6c217ca839f5fd23c651d0f483e Mon Sep 17 00:00:00 2001 From: Oscar Dominguez Date: Sun, 18 Jul 2021 22:39:36 +0200 Subject: [PATCH] ci(workflow): add 'npm' cache for actions/setup-node in .github/workflows --- .github/workflows/build-templates.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-templates.yml b/.github/workflows/build-templates.yml index c6e91816..58dfe82d 100644 --- a/.github/workflows/build-templates.yml +++ b/.github/workflows/build-templates.yml @@ -8,9 +8,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 - - - env: + - uses: actions/setup-node@v2 + with: + cache: npm + - env: CI: true SSH_KEY: ${{ secrets.SSH_KEY }} SSH_KEY_ROLLUP: ${{ secrets.SSH_KEY_ROLLUP }}