@@ -171,7 +171,8 @@ describe('setup-node', () => {
171
171
// Found in cache tests
172
172
//--------------------------------------------------
173
173
174
- it ( 'finds version in cache with stable true' , async ( ) => {
174
+ // Usage of pre-cached Node.js versions is temporarily disabled.
175
+ xit ( 'finds version in cache with stable true' , async ( ) => {
175
176
inputs [ 'node-version' ] = '12' ;
176
177
inputs . stable = 'true' ;
177
178
@@ -182,7 +183,8 @@ describe('setup-node', () => {
182
183
expect ( logSpy ) . toHaveBeenCalledWith ( `Found in cache @ ${ toolPath } ` ) ;
183
184
} ) ;
184
185
185
- it ( 'finds version in cache with stable not supplied' , async ( ) => {
186
+ // Usage of pre-cached Node.js versions is temporarily disabled.
187
+ xit ( 'finds version in cache with stable not supplied' , async ( ) => {
186
188
inputs [ 'node-version' ] = '12' ;
187
189
188
190
inSpy . mockImplementation ( name => inputs [ name ] ) ;
@@ -194,7 +196,8 @@ describe('setup-node', () => {
194
196
expect ( logSpy ) . toHaveBeenCalledWith ( `Found in cache @ ${ toolPath } ` ) ;
195
197
} ) ;
196
198
197
- it ( 'finds version in cache and adds it to the path' , async ( ) => {
199
+ // Usage of pre-cached Node.js versions is temporarily disabled.
200
+ xit ( 'finds version in cache and adds it to the path' , async ( ) => {
198
201
inputs [ 'node-version' ] = '12' ;
199
202
200
203
inSpy . mockImplementation ( name => inputs [ name ] ) ;
@@ -384,7 +387,8 @@ describe('setup-node', () => {
384
387
} , 100000 ) ;
385
388
386
389
describe ( 'check-latest flag' , ( ) => {
387
- it ( 'use local version and dont check manifest if check-latest is not specified' , async ( ) => {
390
+ // Usage of pre-cached Node.js versions is temporarily disabled.
391
+ xit ( 'use local version and dont check manifest if check-latest is not specified' , async ( ) => {
388
392
os . platform = 'linux' ;
389
393
os . arch = 'x64' ;
390
394
@@ -405,7 +409,8 @@ describe('setup-node', () => {
405
409
) ;
406
410
} ) ;
407
411
408
- it ( 'check latest version and resolve it from local cache' , async ( ) => {
412
+ // Usage of pre-cached Node.js versions is temporarily disabled.
413
+ xit ( 'check latest version and resolve it from local cache' , async ( ) => {
409
414
os . platform = 'linux' ;
410
415
os . arch = 'x64' ;
411
416
@@ -556,7 +561,8 @@ describe('setup-node', () => {
556
561
inputs . stable = 'true' ;
557
562
} ) ;
558
563
559
- it ( 'find latest LTS version and resolve it from local cache (lts/erbium)' , async ( ) => {
564
+ // Usage of pre-cached Node.js versions is temporarily disabled.
565
+ xit ( 'find latest LTS version and resolve it from local cache (lts/erbium)' , async ( ) => {
560
566
// arrange
561
567
inputs [ 'node-version' ] = 'lts/erbium' ;
562
568
@@ -626,7 +632,8 @@ describe('setup-node', () => {
626
632
) ;
627
633
} ) ;
628
634
629
- it ( 'find latest LTS version and resolve it from local cache (lts/*)' , async ( ) => {
635
+ // Usage of pre-cached Node.js versions is temporarily disabled.
636
+ xit ( 'find latest LTS version and resolve it from local cache (lts/*)' , async ( ) => {
630
637
// arrange
631
638
inputs [ 'node-version' ] = 'lts/*' ;
632
639
0 commit comments