From 92710ede54f7648f9ea285b5952c4e3217c4926f Mon Sep 17 00:00:00 2001 From: Bryan Date: Thu, 13 Jan 2022 09:11:52 -0800 Subject: [PATCH] chore: Add caching for node_modules (#19) --- .github/workflows/coder.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/coder.yaml b/.github/workflows/coder.yaml index aeac7e2e1f..4810c09d5f 100644 --- a/.github/workflows/coder.yaml +++ b/.github/workflows/coder.yaml @@ -144,6 +144,15 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Cache Node + id: cache-node + uses: actions/cache@v2 + with: + path: | + **/node_modules + .eslintcache + key: js-${{ runner.os }}-test-${{ hashFiles('**/yarn.lock') }} + - uses: actions/setup-node@v2 with: node-version: "14"