From 94b229bc3c808ee0dd2f53a8b399cc09c0e9cd6d Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Tue, 13 Apr 2021 06:52:32 +0300 Subject: [PATCH] cache node_modules on GH actions Signed-off-by: Jari Kolehmainen --- .github/workflows/test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e6dbf72784..0d53566fd9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -20,6 +20,12 @@ jobs: with: node-version: ${{ matrix.node-version }} + - name: Cache node_modules + uses: actions/cache@v2 + with: + path: '**/node_modules' + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + - run: make node_modules name: Install dependencies