ci: test before deploy

This commit is contained in:
Rongjian Zhang 2020-07-13 21:37:44 +08:00
parent c3cac632f7
commit a8257c6eac
2 changed files with 1 additions and 3 deletions

View File

@ -11,6 +11,7 @@ jobs:
- run: |
yarn
yarn build
yarn test
cd examples/svelte
yarn build
- uses: peaceiris/actions-gh-pages@v2.5.1

View File

@ -1,8 +1,5 @@
name: test
on:
push:
branches:
- master
pull_request:
branches:
- master