Only build assets and packages on e2e tests
This commit is contained in:
parent
ca66a77079
commit
28f493ba16
|
@ -33,8 +33,7 @@ jobs:
|
||||||
php: 7.4
|
php: 7.4
|
||||||
env: WP_VERSION=latest WP_MULTISITE=0 RUN_E2E=1
|
env: WP_VERSION=latest WP_MULTISITE=0 RUN_E2E=1
|
||||||
script:
|
script:
|
||||||
- composer require wp-cli/i18n-command
|
- npm run build:assets
|
||||||
- npm run build:core
|
|
||||||
- npm run build:packages
|
- npm run build:packages
|
||||||
- npm install jest --global
|
- npm install jest --global
|
||||||
- npm run docker:up
|
- npm run docker:up
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
"build-watch": "grunt watch",
|
"build-watch": "grunt watch",
|
||||||
"build:packages": "lerna run build",
|
"build:packages": "lerna run build",
|
||||||
"build:zip": "npm run build && composer install && npm run build:core",
|
"build:zip": "npm run build && composer install && npm run build:core",
|
||||||
|
"build:assets": "grunt assets",
|
||||||
"lint:js": "eslint assets/js --ext=js",
|
"lint:js": "eslint assets/js --ext=js",
|
||||||
"docker:up": "npm explore @woocommerce/e2e-environment -- npm run docker:up",
|
"docker:up": "npm explore @woocommerce/e2e-environment -- npm run docker:up",
|
||||||
"docker:down": "npm explore @woocommerce/e2e-environment -- npm run docker:down",
|
"docker:down": "npm explore @woocommerce/e2e-environment -- npm run docker:down",
|
||||||
|
|
Loading…
Reference in New Issue