Skip to content

Commit 6eb76ac

Browse files
committed
Gate clean script on CI
1 parent 709993d commit 6eb76ac

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,10 @@
2727
],
2828
"jest": {
2929
"verbose": true,
30-
"testPathIgnorePatterns": ["/node_modules/", "/pf3-component-mapper/"],
30+
"testPathIgnorePatterns": [
31+
"/node_modules/",
32+
"/pf3-component-mapper/"
33+
],
3134
"setupFiles": [
3235
"<rootDir>/config/jest.setup.js"
3336
],
@@ -76,6 +79,7 @@
7679
"eslint-plugin-prettier": "^3.1.2",
7780
"eslint-plugin-react": "^7.18.3",
7881
"eslint-plugin-react-hooks": "^2.4.0",
82+
"fs-extra": "^9.0.1",
7983
"glob": "^7.1.6",
8084
"identity-obj-proxy": "^3.0.0",
8185
"inquirer": "^7.1.0",

scripts/clean-build.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
if (process.env.CI) {
2+
return;
3+
}
4+
15
const path = require('path');
26
const fse = require('fs-extra');
37
const glob = require('glob');

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10337,7 +10337,7 @@ fs-extra@^6.0.1:
1033710337
jsonfile "^4.0.0"
1033810338
universalify "^0.1.0"
1033910339

10340-
fs-extra@^9.0.0:
10340+
fs-extra@^9.0.0, fs-extra@^9.0.1:
1034110341
version "9.0.1"
1034210342
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.0.1.tgz#910da0062437ba4c39fedd863f1675ccfefcb9fc"
1034310343
integrity sha512-h2iAoN838FqAFJY2/qVpzFXy+EBxfVE220PalAqQLDVsFOHLJrZvut5puAbCdNv6WJk+B8ihI+k0c7JK5erwqQ==

0 commit comments

Comments
 (0)