Skip to content

Commit 6f024f5

Browse files
authored
add cache to workflows using actions/setup-node
1 parent d0d821a commit 6f024f5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tox.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ jobs:
8181
python-version: 3.7
8282
- name: Setup Node
8383
if: ${{ matrix.tox-env == 'checklinks' }}
84-
uses: actions/setup-node@v1
84+
uses: actions/setup-node@v2
8585
with:
8686
node-version: '10'
87+
cache: npm
8788
- name: Install dependencies
8889
run: |
8990
python -m pip install --upgrade pip tox

0 commit comments

Comments
 (0)