Commit 4df424c 1 parent 6bf9478 commit 4df424c Copy full SHA for 4df424c
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ const { join } = require('node:path')
8
8
const { platform } = require ( 'node:process' )
9
9
const execFile = promisify ( require ( 'node:child_process' ) . execFile )
10
10
11
+ const skip = process . env . PNPM_CI || process . env . CITGM
12
+
11
13
/**
12
14
* The following regex is for tesintg the deprecation warning that is thrown by the `punycode` module.
13
15
* Exact text that it's matching is:
@@ -18,7 +20,7 @@ const execFile = promisify(require('node:child_process').execFile)
18
20
*/
19
21
const deprecationWarningRegex = / ^ \( \w + : \d + \) \s \[ [ \w | \d ] + \] \s D e p r e c a t i o n W a r n i n g : T h e ` p u n y c o d e ` m o d u l e i s d e p r e c a t e d \. \s + P l e a s e u s e a u s e r l a n d a l t e r n a t i v e i n s t e a d \. \s + \( U s e ` n o d e - - t r a c e - d e p r e c a t i o n \. \. \. ` t o s h o w w h e r e t h e w a r n i n g w a s c r e a t e d \) \s + $ /
20
22
21
- test ( 'worker test when packaged into executable using pkg' , { skip : ! ! process . env . PNPM_CI } , async ( t ) => {
23
+ test ( 'worker test when packaged into executable using pkg' , { skip } , async ( t ) => {
22
24
const packageName = 'index'
23
25
24
26
// package the app into several node versions, check config for more info
You can’t perform that action at this time.
0 commit comments