File tree Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Expand file tree Collapse file tree 1 file changed +3
-17
lines changed Original file line number Diff line number Diff line change 11
11
jobs :
12
12
build :
13
13
runs-on : ${{matrix.os}}
14
-
15
14
strategy :
16
15
matrix :
17
16
os : [ubuntu-latest, macos-latest, windows-latest]
18
- node-version : [12.x, 14.x, 15.x ]
17
+ node-version : [12.x, 14.x]
19
18
19
+ name : Node ${{ matrix.node_version }} on ${{ matrix.os }}
20
20
steps :
21
21
- uses : actions/checkout@v2
22
- - name : Cache node modules
23
- uses : actions/cache@v2
24
- env :
25
- cache-name : cache-node-modules
26
- with :
27
- # npm cache files are stored in `~/.npm` on Linux/macOS
28
- path : ~/.npm
29
- key : ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package.json') }}
30
- restore-keys : |
31
- ${{ runner.os }}-build-${{ env.cache-name }}-
32
- ${{ runner.os }}-build-
33
- ${{ runner.os }}-
34
-
35
22
- name : Test
36
- uses : actions/setup-node@v1
23
+ uses : actions/setup-node@v2.1.5
37
24
with :
38
25
node-version : ${{ matrix.node-version }}
39
-
40
26
- run : npm install
41
27
- run : npm test
You can’t perform that action at this time.
0 commit comments