diff --git a/bin/helpers/archiver.js b/bin/helpers/archiver.js index 6197ed5a..6fbf2aac 100644 --- a/bin/helpers/archiver.js +++ b/bin/helpers/archiver.js @@ -36,9 +36,9 @@ const archiveSpecs = (runSettings, filePath) => { archive.pipe(output); - let allowedFileTypes = [ 'js', 'json', 'txt', 'ts', 'feature', 'features' ]; + let allowedFileTypes = [ 'js', 'json', 'txt', 'ts', 'feature', 'features', 'pdf', 'jpg', 'jpeg', 'png', 'zip' ]; allowedFileTypes.forEach(fileType => { - archive.glob(`**/*.${fileType}`, { cwd: cypressFolderPath, matchBase: true, ignore: ['node_modules/**', 'package-lock.json', 'package.json', 'browserstack-package.json'] }); + archive.glob(`**/*.${fileType}`, { cwd: cypressFolderPath, matchBase: true, ignore: ['node_modules/**', 'package-lock.json', 'package.json', 'browserstack-package.json', 'tests.zip'] }); }); let packageJSON = {};