From 17539a6dcab404e8e589e40f84c20dc29932f2bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Fredrik=20Ki=C3=A6r?= <31612826+anders-kiaer@users.noreply.github.com> Date: Fri, 28 Apr 2023 11:58:08 +0200 Subject: [PATCH] Add cache of dependencies in GitHub action (#93) --- .github/workflows/webviz.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/webviz.yml b/.github/workflows/webviz.yml index 1d3de3ca4..70b971ff2 100644 --- a/.github/workflows/webviz.yml +++ b/.github/workflows/webviz.yml @@ -21,6 +21,8 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 + cache: npm + cache-dependency-path: frontend/package-lock.json - name: ℹ️ Node and npm versions run: | @@ -64,6 +66,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.8 + cache: pip - name: 📦 Install poetry and dependencies working-directory: ./backend