From 3301db8d0e3c19febc2f55793ebd1f45451c1890 Mon Sep 17 00:00:00 2001 From: "Jocelyn Badgley (Twipped)" Date: Wed, 25 Aug 2021 09:13:16 -0700 Subject: [PATCH] Add an asset cache to the workflow --- .github/workflows/ensure-build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ensure-build.yml b/.github/workflows/ensure-build.yml index 2c7f32f..f59ef03 100644 --- a/.github/workflows/ensure-build.yml +++ b/.github/workflows/ensure-build.yml @@ -15,6 +15,13 @@ jobs: with: node-version: '14' cache: 'npm' + - name: Restore Asset Caches + uses: actions/cache@v2 + with: + key: if-cache + path: | + ./if-cache + ./twitter-cache.json - run: npm ci - run: npm test - run: npm run build