File tree 1 file changed +30
-5
lines changed
1 file changed +30
-5
lines changed Original file line number Diff line number Diff line change 30
30
- Node.js 15.x
31
31
- Node.js 16.x
32
32
- Node.js 17.x
33
+ - Node.js 18.x
34
+ - Node.js 19.x
35
+ - Node.js 20.x
36
+ - Node.js 21.x
37
+ - Node.js 22.x
33
38
34
39
include :
35
40
- name : Node.js 0.8
@@ -75,11 +80,11 @@ jobs:
75
80
76
81
- name : Node.js 8.x
77
82
node-version : " 8.17"
78
-
83
+
79
84
80
85
- name : Node.js 9.x
81
86
node-version : " 9.11"
82
-
87
+
83
88
84
89
- name : Node.js 10.x
85
90
node-version : " 10.24"
@@ -107,8 +112,23 @@ jobs:
107
112
- name : Node.js 17.x
108
113
node-version : " 17.6"
109
114
115
+ - name : Node.js 18.x
116
+ node-version : " 18.14"
117
+
118
+ - name : Node.js 19.x
119
+ node-version : " 19.6"
120
+
121
+ - name : Node.js 20.x
122
+ node-version : " 20.12"
123
+
124
+ - name : Node.js 21.x
125
+ node-version : " 21.7"
126
+
127
+ - name : Node.js 22.x
128
+ node-version : " 22.0"
129
+
110
130
steps :
111
- - uses : actions/checkout@v2
131
+ - uses : actions/checkout@v4
112
132
113
133
- name : Install Node.js ${{ matrix.node-version }}
114
134
shell : bash -eo pipefail -l {0}
@@ -123,7 +143,12 @@ jobs:
123
143
dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH"
124
144
125
145
- name : Configure npm
126
- run : npm config set shrinkwrap false
146
+ run : |
147
+ if [[ "$(npm config get package-lock)" == "true" ]]; then
148
+ npm config set package-lock false
149
+ else
150
+ npm config set shrinkwrap false
151
+ fi
127
152
128
153
- name : Remove npm module(s) ${{ matrix.npm-rm }}
129
154
run : npm rm --silent --save-dev ${{ matrix.npm-rm }}
@@ -182,7 +207,7 @@ jobs:
182
207
needs : test
183
208
runs-on : ubuntu-latest
184
209
steps :
185
- - name : Uploade code coverage
210
+ - name : Upload code coverage
186
211
uses : coverallsapp/github-action@master
187
212
with :
188
213
github-token : ${{ secrets.github_token }}
You can’t perform that action at this time.
0 commit comments