Skip to content

Commit fd57cd4

Browse files
committed
cache node_modules
1 parent 9633323 commit fd57cd4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/workflows/test.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ jobs:
4343
~/conda
4444
key: conda
4545

46+
- name: Cache node_modules
47+
uses: actions/cache@v2
48+
with:
49+
path: |
50+
node_modules
51+
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
52+
restore-keys: |
53+
${{ runner.os }}-yarn-
54+
4655
- name: Set environment variables
4756
if: matrix.controller_ip
4857
run: |

0 commit comments

Comments
 (0)