Add caching for NodeJS
This commit is contained in:
parent
a372ee92e9
commit
b80732f8e2
4
.github/workflows/tests.yml
vendored
4
.github/workflows/tests.yml
vendored
@ -93,9 +93,11 @@ jobs:
|
|||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: '12'
|
node-version: '12'
|
||||||
|
cache: 'npm'
|
||||||
|
cache-dependency-path: 'js/package-lock.json'
|
||||||
|
|
||||||
- name: Setup Mocha
|
- name: Setup Mocha
|
||||||
run: npm install -g mocha
|
run: npm install -g mocha
|
||||||
|
Loading…
Reference in New Issue
Block a user