@@ -49,12 +49,12 @@ describe("GitHub Action - success tests", () => {
49
49
expect ( cli ) . stdout . to . include (
50
50
"Successfully published my-lib v2.0.0 to https://registry.npmjs.org/"
51
51
) ;
52
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::major" ) ;
53
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::2.0.0" ) ;
54
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::1.0.0" ) ;
55
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::latest" ) ;
56
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
57
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
52
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::major" ) ;
53
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::2.0.0" ) ;
54
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::1.0.0" ) ;
55
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::latest" ) ;
56
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
57
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
58
58
expect ( cli ) . to . have . exitCode ( 0 ) ;
59
59
60
60
files . assert . contents (
@@ -106,12 +106,12 @@ describe("GitHub Action - success tests", () => {
106
106
expect ( cli ) . stdout . to . include (
107
107
"Successfully published my-lib v0.1.0 to https://registry.npmjs.org/"
108
108
) ;
109
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::major" ) ;
110
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::0.1.0" ) ;
111
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::1.0.0" ) ;
112
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::latest" ) ;
113
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
114
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
109
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::major" ) ;
110
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::0.1.0" ) ;
111
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::1.0.0" ) ;
112
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::latest" ) ;
113
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
114
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
115
115
expect ( cli ) . to . have . exitCode ( 0 ) ;
116
116
117
117
files . assert . contents (
@@ -163,12 +163,12 @@ describe("GitHub Action - success tests", () => {
163
163
expect ( cli ) . stdout . to . include (
164
164
"my-lib v0.1.0 is lower than the version published to https://registry.npmjs.org/"
165
165
) ;
166
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::lower" ) ;
167
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::0.1.0" ) ;
168
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::1.0.0" ) ;
169
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::latest" ) ;
170
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
171
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
166
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::lower" ) ;
167
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::0.1.0" ) ;
168
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::1.0.0" ) ;
169
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::latest" ) ;
170
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
171
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
172
172
expect ( cli ) . to . have . exitCode ( 0 ) ;
173
173
174
174
files . assert . contents (
@@ -221,12 +221,12 @@ describe("GitHub Action - success tests", () => {
221
221
expect ( cli ) . stdout . to . include (
222
222
"Successfully published my-lib v1.0.0 to https://registry.npmjs.org/"
223
223
) ;
224
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::major" ) ;
225
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::1.0.0" ) ;
226
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::0.0.0" ) ;
227
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::latest" ) ;
228
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
229
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
224
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::major" ) ;
225
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::1.0.0" ) ;
226
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::0.0.0" ) ;
227
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::latest" ) ;
228
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
229
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
230
230
expect ( cli ) . to . have . exitCode ( 0 ) ;
231
231
232
232
files . assert . contents (
@@ -278,12 +278,12 @@ describe("GitHub Action - success tests", () => {
278
278
expect ( cli ) . stdout . to . include (
279
279
"Successfully published my-lib v1.0.0 to https://registry.npmjs.org/"
280
280
) ;
281
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::major" ) ;
282
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::1.0.0" ) ;
283
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::0.0.0" ) ;
284
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::my-tag" ) ;
285
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
286
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
281
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::major" ) ;
282
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::1.0.0" ) ;
283
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::0.0.0" ) ;
284
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::my-tag" ) ;
285
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
286
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
287
287
expect ( cli ) . to . have . exitCode ( 0 ) ;
288
288
289
289
files . assert . contents (
@@ -323,12 +323,12 @@ describe("GitHub Action - success tests", () => {
323
323
expect ( cli ) . stdout . to . include (
324
324
"📦 my-lib v1.0.0 is already published to https://registry.npmjs.org/"
325
325
) ;
326
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::none" ) ;
327
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::1.0.0" ) ;
328
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::1.0.0" ) ;
329
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::latest" ) ;
330
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
331
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
326
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::none" ) ;
327
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::1.0.0" ) ;
328
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::1.0.0" ) ;
329
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::latest" ) ;
330
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
331
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
332
332
expect ( cli ) . to . have . exitCode ( 0 ) ;
333
333
334
334
files . assert . contents (
@@ -385,12 +385,12 @@ describe("GitHub Action - success tests", () => {
385
385
expect ( cli ) . stdout . to . include (
386
386
"📦 Successfully published my-lib v1.1.0 to https://registry.npmjs.org/"
387
387
) ;
388
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::minor" ) ;
389
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::1.1.0" ) ;
390
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::1.0.0" ) ;
391
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::latest" ) ;
392
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
393
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
388
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::minor" ) ;
389
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::1.1.0" ) ;
390
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::1.0.0" ) ;
391
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::latest" ) ;
392
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
393
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
394
394
expect ( cli ) . to . have . exitCode ( 0 ) ;
395
395
396
396
files . assert . contents (
@@ -459,12 +459,12 @@ describe("GitHub Action - success tests", () => {
459
459
expect ( cli ) . stdout . to . include (
460
460
"📦 Successfully published my-lib v1.0.1 to https://registry.npmjs.org/"
461
461
) ;
462
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::patch" ) ;
463
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::1.0.1" ) ;
464
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::1.0.0" ) ;
465
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::latest" ) ;
466
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
467
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
462
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::patch" ) ;
463
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::1.0.1" ) ;
464
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::1.0.0" ) ;
465
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::latest" ) ;
466
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
467
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
468
468
expect ( cli ) . to . have . exitCode ( 0 ) ;
469
469
470
470
files . assert . contents (
@@ -525,12 +525,12 @@ describe("GitHub Action - success tests", () => {
525
525
expect ( cli ) . stdout . to . include (
526
526
"📦 Successfully published my-lib v1.0.0-beta to https://registry.npmjs.org/"
527
527
) ;
528
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::prerelease" ) ;
529
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::1.0.0-beta" ) ;
530
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::1.0.0" ) ;
531
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::latest" ) ;
532
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
533
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
528
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::prerelease" ) ;
529
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::1.0.0-beta" ) ;
530
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::1.0.0" ) ;
531
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::latest" ) ;
532
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
533
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
534
534
expect ( cli ) . to . have . exitCode ( 0 ) ;
535
535
536
536
files . assert . contents (
@@ -582,12 +582,12 @@ describe("GitHub Action - success tests", () => {
582
582
expect ( cli ) . stdout . to . include (
583
583
"Successfully published @my-scope/my-lib v2.0.0 to https://registry.npmjs.org/"
584
584
) ;
585
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::major" ) ;
586
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::2.0.0" ) ;
587
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::1.0.0" ) ;
588
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::latest" ) ;
589
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::restricted" ) ;
590
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
585
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::major" ) ;
586
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::2.0.0" ) ;
587
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::1.0.0" ) ;
588
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::latest" ) ;
589
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::restricted" ) ;
590
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
591
591
expect ( cli ) . to . have . exitCode ( 0 ) ;
592
592
593
593
files . assert . contents (
@@ -640,12 +640,12 @@ describe("GitHub Action - success tests", () => {
640
640
expect ( cli ) . stdout . to . include (
641
641
"Successfully published my-lib v2.0.0 to https://registry.npmjs.org/"
642
642
) ;
643
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::major" ) ;
644
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::2.0.0" ) ;
645
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::1.0.0" ) ;
646
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::next" ) ;
647
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
648
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
643
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::major" ) ;
644
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::2.0.0" ) ;
645
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::1.0.0" ) ;
646
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::next" ) ;
647
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
648
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
649
649
expect ( cli ) . to . have . exitCode ( 0 ) ;
650
650
651
651
files . assert . contents (
@@ -698,12 +698,12 @@ describe("GitHub Action - success tests", () => {
698
698
expect ( cli ) . stdout . to . include (
699
699
"Successfully published @my-scope/my-lib v2.0.0 to https://registry.npmjs.org/"
700
700
) ;
701
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::major" ) ;
702
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::2.0.0" ) ;
703
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::1.0.0" ) ;
704
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::latest" ) ;
705
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
706
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::false" ) ;
701
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::major" ) ;
702
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::2.0.0" ) ;
703
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::1.0.0" ) ;
704
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::latest" ) ;
705
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
706
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::false" ) ;
707
707
expect ( cli ) . to . have . exitCode ( 0 ) ;
708
708
709
709
files . assert . contents (
@@ -752,12 +752,12 @@ describe("GitHub Action - success tests", () => {
752
752
} ) ;
753
753
754
754
expect ( cli ) . to . have . stderr ( "" ) ;
755
- expect ( cli ) . stdout . to . include ( ":: set-output name=type::minor" ) ;
756
- expect ( cli ) . stdout . to . include ( ":: set-output name=version::1.1.0" ) ;
757
- expect ( cli ) . stdout . to . include ( ":: set-output name=old-version::1.0.0" ) ;
758
- expect ( cli ) . stdout . to . include ( ":: set-output name=tag::latest" ) ;
759
- expect ( cli ) . stdout . to . include ( ":: set-output name=access::public" ) ;
760
- expect ( cli ) . stdout . to . include ( ":: set-output name=dry-run::true" ) ;
755
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=type::minor" ) ;
756
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=version::1.1.0" ) ;
757
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=old-version::1.0.0" ) ;
758
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=tag::latest" ) ;
759
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=access::public" ) ;
760
+ expect ( cli ) . stdout . to . include ( "TEST- set-output name=dry-run::true" ) ;
761
761
expect ( cli ) . stdout . to . include ( "my-lib 1.1.0" ) ;
762
762
expect ( cli ) . stdout . to . include (
763
763
"📦 my-lib v1.1.0 was NOT actually published to https://registry.npmjs.org/ (dry run)"
0 commit comments