Only build assets and packages on e2e tests

This commit is contained in:
Claudio Sanches 2020-08-19 15:49:08 -03:00
parent ca66a77079
commit 28f493ba16
2 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,7 @@ jobs:
php: 7.4
env: WP_VERSION=latest WP_MULTISITE=0 RUN_E2E=1
script:
- composer require wp-cli/i18n-command
- npm run build:core
- npm run build:assets
- npm run build:packages
- npm install jest --global
- npm run docker:up

View File

@ -18,6 +18,7 @@
"build-watch": "grunt watch",
"build:packages": "lerna run build",
"build:zip": "npm run build && composer install && npm run build:core",
"build:assets": "grunt assets",
"lint:js": "eslint assets/js --ext=js",
"docker:up": "npm explore @woocommerce/e2e-environment -- npm run docker:up",
"docker:down": "npm explore @woocommerce/e2e-environment -- npm run docker:down",