@@ -5,15 +5,11 @@ on: [push]
5
5
jobs :
6
6
prettier :
7
7
runs-on : ubuntu-latest
8
- strategy :
9
- matrix :
10
- node-version : [16]
11
8
steps :
12
9
- uses : actions/checkout@v1
13
- - name : Use Node.js ${{ matrix.node-version }}
14
- uses : actions/setup-node@v1
10
+ - uses : actions/setup-node@v2
15
11
with :
16
- node-version : ${{ matrix.node-version }}
12
+ node-version : " 16 "
17
13
- name : Cache modules
18
14
uses : actions/cache@v2
19
15
with :
@@ -34,15 +30,11 @@ jobs:
34
30
35
31
lint :
36
32
runs-on : ubuntu-latest
37
- strategy :
38
- matrix :
39
- node-version : [16]
40
33
steps :
41
34
- uses : actions/checkout@v1
42
- - name : Use Node.js ${{ matrix.node-version }}
43
- uses : actions/setup-node@v1
35
+ - uses : actions/setup-node@v2
44
36
with :
45
- node-version : ${{ matrix.node-version }}
37
+ node-version : " 16 "
46
38
- name : Cache modules
47
39
uses : actions/cache@v2
48
40
with :
@@ -61,17 +53,11 @@ jobs:
61
53
62
54
browser-test :
63
55
runs-on : ubuntu-latest
64
-
65
- strategy :
66
- matrix :
67
- node-version : [16]
68
-
69
56
steps :
70
57
- uses : actions/checkout@v1
71
- - name : Use Node.js ${{ matrix.node-version }}
72
- uses : actions/setup-node@v1
58
+ - uses : actions/setup-node@v2
73
59
with :
74
- node-version : ${{ matrix.node-version }}
60
+ node-version : " 16 "
75
61
- name : Cache npm
76
62
uses : actions/cache@v2
77
63
with :
@@ -100,17 +86,11 @@ jobs:
100
86
saucelabs-test :
101
87
if : ${{ github.ref == 'refs/heads/master' }}
102
88
runs-on : ubuntu-latest
103
-
104
- strategy :
105
- matrix :
106
- node-version : [16]
107
-
108
89
steps :
109
90
- uses : actions/checkout@v1
110
- - name : Use Node.js ${{ matrix.node-version }}
111
- uses : actions/setup-node@v1
91
+ - uses : actions/setup-node@v2
112
92
with :
113
- node-version : ${{ matrix.node-version }}
93
+ node-version : " 16 "
114
94
- name : Cache npm
115
95
uses : actions/cache@v2
116
96
with :
@@ -140,7 +120,7 @@ jobs:
140
120
steps :
141
121
- uses : actions/checkout@v1
142
122
- name : Use Node.js ${{ matrix.node-version }}
143
- uses : actions/setup-node@v1
123
+ uses : actions/setup-node@v2
144
124
with :
145
125
node-version : ${{ matrix.node-version }}
146
126
- name : Cache modules
0 commit comments