From 6312cfbd9f5878bd9b034db8f99f83322237adf4 Mon Sep 17 00:00:00 2001 From: Anthony Potdevin Date: Sun, 20 Dec 2020 01:03:23 +0100 Subject: [PATCH] =?UTF-8?q?ci:=20=F0=9F=91=B7=20add=20nextjs=20cache?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/nodejs.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 88c4d249..1af3349e 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -18,6 +18,11 @@ jobs: uses: actions/setup-node@v1 with: node-version: '14' + - name: Use NextJS Cache + uses: actions/cache@v2 + with: + path: ${{ github.workspace }}/.next/cache + key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json') }} - name: Install deps run: npm ci - name: Test and build