Add caching for NodeJS

This commit is contained in:
rugk 2021-10-02 00:55:08 +02:00 committed by GitHub
parent a372ee92e9
commit b80732f8e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,9 +93,11 @@ jobs:
uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: '12'
cache: 'npm'
cache-dependency-path: 'js/package-lock.json'
- name: Setup Mocha
run: npm install -g mocha