Exclude e2e infrastructure from the zip build process
Use the new "install:no-e2e" script instead of "npm install" for building the zip file.
This commit is contained in:
parent
1d3e83ff55
commit
1b04bedd3d
|
@ -1,7 +1,6 @@
|
|||
/** @format */
|
||||
const { useE2EEsLintConfig } = require( '@woocommerce/e2e-environment' );
|
||||
|
||||
module.exports = useE2EEsLintConfig( {
|
||||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
browser: true,
|
||||
|
@ -29,4 +28,4 @@ module.exports = useE2EEsLintConfig( {
|
|||
jsx: true
|
||||
}
|
||||
},
|
||||
} );
|
||||
};
|
||||
|
|
|
@ -10,7 +10,7 @@ rm -rf "$BUILD_PATH"
|
|||
mkdir -p "$DEST_PATH"
|
||||
|
||||
echo "Installing PHP and JS dependencies..."
|
||||
npm install
|
||||
npm run install:no-e2e
|
||||
composer install || exit "$?"
|
||||
echo "Running JS Build..."
|
||||
npm run build:core || exit "$?"
|
||||
|
|
Loading…
Reference in New Issue