@@ -63,14 +63,14 @@ commands:
63
63
- checkout
64
64
- restore_cache :
65
65
keys :
66
- - js-profiler-dependencies-{{ checksum "package.json" }}
66
+ - js-profiler-dependencies-{{ checksum "package-lock .json" }}
67
67
- run :
68
68
name : install dependencies
69
69
command : npm install
70
70
- save_cache :
71
71
paths :
72
72
- node_modules
73
- key : js-profiler-dependencies-{{ checksum "package.json" }}
73
+ key : js-profiler-dependencies-{{ checksum "package-lock .json" }}
74
74
- extract-versions
75
75
76
76
@@ -107,19 +107,6 @@ commands:
107
107
npm i -S js-profiler@${VERSION}
108
108
sudo npm i -g js-profiler@${VERSION}
109
109
110
- package-information :
111
- steps :
112
- - run :
113
- name : install tree
114
- command : sudo apt-get -y install tree
115
- - run :
116
- name : gather bundle information
117
- command : |
118
- npm info js-profiler@${VERSION} > ./bundle.info
119
- tree -s node_modules/js-profiler >> ./bundle.info
120
- - store_artifacts :
121
- path : bundle.info
122
-
123
110
workflows :
124
111
version : 2
125
112
default :
@@ -135,7 +122,7 @@ workflows:
135
122
# at this point in time because config templates
136
123
# are pre-compiled. See
137
124
# https://discuss.circleci.com/t/how-to-use-a-bash-env-variable-as-a-parameter-to-a-command-or-when-condition/29186
138
- node_version : 14.17 .0
125
+ node_version : 18.18 .0
139
126
- bundle :
140
127
requires :
141
128
- lint
@@ -148,7 +135,7 @@ workflows:
148
135
- bundle
149
136
- bundle-test-cjs-js :
150
137
name : bundle-test-cjs-js@engine
151
- node_version : 14.17 .0
138
+ node_version : 18.18 .0
152
139
requires :
153
140
- bundle
154
141
- ensure-versioned-correctly :
@@ -169,7 +156,7 @@ workflows:
169
156
- publish
170
157
- package-test-cjs-js :
171
158
name : package-test-cjs-js@engine
172
- node_version : 14.17 .0
159
+ node_version : 18.18 .0
173
160
requires :
174
161
- publish
175
162
- publish-github-release :
@@ -180,15 +167,15 @@ workflows:
180
167
jobs :
181
168
extract-versions :
182
169
docker :
183
- - image : circleci /node:lts
170
+ - image : cimg /node:lts
184
171
working_directory : ~/js-profiler
185
172
steps :
186
173
- init
187
174
- prepare-repo
188
175
189
176
lint :
190
177
docker :
191
- - image : circleci /node:lts
178
+ - image : cimg /node:lts
192
179
working_directory : ~/js-profiler
193
180
steps :
194
181
- init
@@ -208,7 +195,7 @@ jobs:
208
195
type : string
209
196
default : lts
210
197
docker :
211
- - image : circleci /node:<< parameters.node_version >>
198
+ - image : cimg /node:<< parameters.node_version >>
212
199
working_directory : ~/js-profiler
213
200
steps :
214
201
- init
@@ -221,7 +208,7 @@ jobs:
221
208
222
209
bundle :
223
210
docker :
224
- - image : circleci /node:lts
211
+ - image : cimg /node:lts
225
212
working_directory : ~/js-profiler
226
213
steps :
227
214
- init
@@ -258,7 +245,7 @@ jobs:
258
245
type : string
259
246
default : lts
260
247
docker :
261
- - image : circleci /node:<< parameters.node_version >>
248
+ - image : cimg /node:<< parameters.node_version >>
262
249
working_directory : /tmp/test-app
263
250
steps :
264
251
- init
@@ -272,12 +259,10 @@ jobs:
272
259
name : test global cli
273
260
command : |
274
261
js-profiler -h
275
- - package-information
276
-
277
262
278
263
ensure-versioned-correctly :
279
264
docker :
280
- - image : circleci /node:lts
265
+ - image : cimg /node:lts
281
266
working_directory : ~/js-profiler
282
267
steps :
283
268
- attach_workspace :
@@ -312,7 +297,7 @@ jobs:
312
297
313
298
publish :
314
299
docker :
315
- - image : circleci /node:lts
300
+ - image : cimg /node:lts
316
301
working_directory : ~/js-profiler
317
302
steps :
318
303
- attach_workspace :
@@ -331,7 +316,7 @@ jobs:
331
316
type : string
332
317
default : lts
333
318
docker :
334
- - image : circleci /node:<< parameters.node_version >>
319
+ - image : cimg /node:<< parameters.node_version >>
335
320
working_directory : /tmp/test-app
336
321
steps :
337
322
- init
@@ -345,7 +330,6 @@ jobs:
345
330
name : test global cli
346
331
command : |
347
332
js-profiler -h
348
- - package-information
349
333
350
334
publish-github-release :
351
335
docker :
0 commit comments