add cache to cli-test job in tests workflow (#2766)

This commit is contained in:
Joel Wetzell 2024-08-06 05:35:05 -05:00 committed by GitHub
parent d7ec3d1cc5
commit 800dbcfdbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -52,6 +52,8 @@ jobs:
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version-file: '.nvmrc' node-version-file: '.nvmrc'
cache: 'npm'
cache-dependency-path: './package-lock.json'
- name: Install dependencies - name: Install dependencies
run: npm ci --legacy-peer-deps run: npm ci --legacy-peer-deps