Update pre-push to run e2e test

This commit is contained in:
Dan Mindru 2019-09-05 09:59:50 +02:00 committed by Dan Mindru
parent d55786f744
commit 1ad1ef9106
2 changed files with 4 additions and 4 deletions

View File

@ -18,13 +18,13 @@ jobs:
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node_version }}
node_version: ${{ matrix.node_version }}
- name: npm install & test
run: |
npm -v
node -v
npm install --unsafe-perm
npm test
npm install
npm run e2e-test
env:
CI: true

View File

@ -73,7 +73,7 @@
],
"husky": {
"hooks": {
"pre-push": "npm test",
"pre-push": "npm run e2e-test",
"pre-commit": "npm run lint && ./node_modules/.bin/pretty-quick --staged --pattern ./**/*.js"
}
}