From ed3d1ee6b50fd2d2022f8333e408b60e64bd0203 Mon Sep 17 00:00:00 2001 From: Lauren Tan Date: Fri, 25 Oct 2024 13:10:49 -0700 Subject: [PATCH] Add caching --- .github/workflows/node.js.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 03e19dd2..782cebbb 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -29,7 +29,12 @@ jobs: --verbose --no-progress --require-https + --cache --user-agent 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36' 'README.md' output: ${{ runner.temp }}/lychee/out.md fail: true + - uses: actions/cache@v4 + with: + path: .lycheecache + key: ${{ runner.os }}-lycheecache