File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Expand file tree Collapse file tree 1 file changed +18
-1
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
+
33
37
34
38
include :
35
39
- name : Node.js 0.8
@@ -107,6 +111,14 @@ jobs:
107
111
- name : Node.js 17.x
108
112
node-version : " 17.9"
109
113
114
+ - name : Node.js 18.x
115
+ node-version : " 18.19.1"
116
+
117
+ - name : Node.js 19.x
118
+ node-version : " 19.9.0"
119
+
120
+ - name : Node.js 20.x
121
+ node-version : " 20.11"
110
122
steps :
111
123
- uses : actions/checkout@v2
112
124
@@ -123,7 +135,12 @@ jobs:
123
135
dirname "$(nvm which ${{ matrix.node-version }})" >> "$GITHUB_PATH"
124
136
125
137
- name : Configure npm
126
- run : npm config set shrinkwrap false
138
+ run : |
139
+ if [[ "$(cut -d. -f1 <<< "${{ matrix.node-version }}")" -le 17 ]]; then
140
+ npm config set shrinkwrap false
141
+ else
142
+ npm config set package-lock false
143
+ fi
127
144
128
145
- name : Remove npm module(s) ${{ matrix.npm-rm }}
129
146
run : npm rm --silent --save-dev ${{ matrix.npm-rm }}
You can’t perform that action at this time.
0 commit comments