cache npm

This commit is contained in:
Matthias 2021-12-03 01:06:48 +01:00
parent b6c6ac75e5
commit a05777029d
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -69,6 +69,7 @@ jobs:
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: ${{ env.node_version }} node-version: ${{ env.node_version }}
cache: 'npm'
- run: npm install - run: npm install
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2
@ -102,6 +103,7 @@ jobs:
uses: actions/setup-node@v2 uses: actions/setup-node@v2
with: with:
node-version: ${{ env.node_version }} node-version: ${{ env.node_version }}
cache: 'npm'
- run: npm install - run: npm install
- name: Setup Python - name: Setup Python
uses: actions/setup-python@v2 uses: actions/setup-python@v2