From c7b4f3981b8e0af3191e9b8646a1f1ab94bfa747 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henry=20Sj=C3=B8en?= Date: Mon, 6 May 2024 22:05:00 +0200 Subject: [PATCH] try caching node_modules for fun and profit --- .github/workflows/main_app-kabinizer-client-dev.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/main_app-kabinizer-client-dev.yml b/.github/workflows/main_app-kabinizer-client-dev.yml index 2a6ee11..e4c5e37 100644 --- a/.github/workflows/main_app-kabinizer-client-dev.yml +++ b/.github/workflows/main_app-kabinizer-client-dev.yml @@ -17,6 +17,14 @@ jobs: with: node-version: 'lts/*' + - name: Cache node_modules + uses: actions/cache@v3 + with: + path: kabinizer-front-end/node_modules + key: ${{ runner.os }}-node-${{ hashFiles('kabinizer-front-end/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-node- + - name: npm install, build run: | cd kabinizer-front-end