Enable dependency caching in workflows.

This commit is contained in:
Dan Albert 2022-06-26 14:05:22 -07:00
parent 2a5e12dfc5
commit 83af032bee
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,8 @@ runs:
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: "16" node-version: "16"
cache: npm
cache-dependency-path: client/package-lock.json
- name: npm ci - name: npm ci
shell: powershell shell: powershell

View File

@ -7,6 +7,7 @@ runs:
uses: actions/setup-python@v2 uses: actions/setup-python@v2
with: with:
python-version: "3.10" python-version: "3.10"
cache: pip
- name: Install environment - name: Install environment
shell: powershell shell: powershell