File tree Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Expand file tree Collapse file tree 1 file changed +2
-12
lines changed Original file line number Diff line number Diff line change 32
32
- name : checkout code
33
33
uses : actions/checkout@v2
34
34
35
- - name : Cache dependencies
36
- uses : actions/cache@v2
37
- with :
38
- path : |
39
- ~/.npm
40
- **/node_modules
41
- key : ${{runner.os}}-npm-${{hashFiles('**/package-lock.json')}}
42
- restore-keys : |
43
- ${{runner.os}}-npm-
44
- ${{runner.os}}-
45
-
46
35
- name : read node version from .nvmrc
47
36
run : echo ::set-output name=NVMRC::$(cat .nvmrc)
48
37
shell : bash
58
47
run : pulseaudio -D
59
48
60
49
- name : setup node
61
- uses : actions/setup-node@v1
50
+ uses : actions/setup-node@v2
62
51
with :
63
52
node-version : ' ${{steps.nvm.outputs.NVMRC}}'
53
+ cache : npm
64
54
65
55
# turn off the default setup-node problem watchers...
66
56
- run : echo "::remove-matcher owner=eslint-compact::"
You can’t perform that action at this time.
0 commit comments