Skip to content

Commit

Permalink
Plugin: Remove postinstall step (#14353)
Browse files Browse the repository at this point in the history
* Plugin: Remove postinstall step

* Framework: Run build for JS unit tests

Assumed previously relied on postinstall
  • Loading branch information
aduth authored and gziolo committed Mar 11, 2019
1 parent ca1a39a commit 93e5c1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,10 @@ jobs:
install:
- npm ci
script:
- npm run build
- npm run lint
- npm run check-local-changes
- npm run check-licenses
- npm run test-unit -- --ci --maxWorkers=2 --cacheDirectory="$HOME/.jest-cache"

- name: PHP unit tests (Docker)
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@
"lint-css": "wp-scripts lint-style '**/*.scss'",
"lint-css:fix": "npm run lint-css -- --fix",
"package-plugin": "./bin/build-plugin-zip.sh",
"postinstall": "npm run check-licenses && npm run build:packages",
"pot-to-php": "./bin/pot-to-php.js",
"precommit": "lint-staged",
"publish:check": "npm run build:packages && lerna updated",
Expand Down

0 comments on commit 93e5c1d

Please sign in to comment.