use caching

This commit is contained in:
Matthias 2021-12-02 11:23:07 +01:00
parent bd60364deb
commit 567a0b1c8b
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -29,6 +29,7 @@ jobs:
uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'npm'
- run: npm install
- name: Setup Python
uses: actions/setup-python@v2
@ -43,7 +44,6 @@ jobs:
invoke static
- name: Check HTML Files
run: |
npm install markuplint
npx markuplint InvenTree/build/templates/build/*.html
npx markuplint InvenTree/company/templates/company/*.html
npx markuplint InvenTree/order/templates/order/*.html