mirror of
https://github.com/nestjs/nest.git
synced 2026-02-21 23:11:44 +00:00
refactor(): update samples gulp task
This commit is contained in:
@@ -46,24 +46,15 @@ async function executeNpmScriptInSamples(
|
||||
}
|
||||
}
|
||||
|
||||
task(
|
||||
'install:samples',
|
||||
async () =>
|
||||
executeNpmScriptInSamples(
|
||||
'npm ci --no-audit --prefer-offline --no-shrinkwrap',
|
||||
),
|
||||
task('install:samples', async () =>
|
||||
executeNpmScriptInSamples(
|
||||
'npm ci --no-audit --prefer-offline --no-shrinkwrap',
|
||||
),
|
||||
);
|
||||
task(
|
||||
'build:samples',
|
||||
async () => executeNpmScriptInSamples('npm run build'),
|
||||
task('build:samples', async () => executeNpmScriptInSamples('npm run build'));
|
||||
task('test:samples', async () =>
|
||||
executeNpmScriptInSamples('npm run test', '--passWithNoTests'),
|
||||
);
|
||||
task(
|
||||
'test:samples',
|
||||
async () =>
|
||||
executeNpmScriptInSamples('npm run test', '--passWithNoTests'),
|
||||
);
|
||||
task(
|
||||
'test:e2e:samples',
|
||||
async () =>
|
||||
executeNpmScriptInSamples('npm run test:e2e', '--passWithNoTests'),
|
||||
task('test:e2e:samples', async () =>
|
||||
executeNpmScriptInSamples('npm run test:e2e', '--passWithNoTests'),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user