chore: test website on CI (#511)

This commit is contained in:
Michał Pierzchała
2020-08-17 15:47:49 +02:00
committed by GitHub
parent c5e9b71131
commit 64bbde4c2a
+16
View File
@@ -5,6 +5,10 @@ aliases:
branches:
only:
- master
- &filter-ignore-master
branches:
ignore:
- master
defaults: &defaults
docker:
@@ -54,6 +58,13 @@ jobs:
- store_artifacts:
path: coverage
destination: coverage
test-website:
<<: *defaults
steps:
- attach_workspace:
at: ~/react-native-testing-library
- run: |
cd website && yarn install && yarn build
deploy-website:
<<: *defaults
steps:
@@ -80,6 +91,11 @@ workflows:
- tests:
requires:
- install-dependencies
- test-website:
requires:
- install-dependencies
# docusuarus build is running when deploying website as well
filters: *filter-ignore-master
- deploy-website:
requires:
- install-dependencies