Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ whitelist: &whitelist
- src/
- test/
- tools/
- docs-www
- .babelrc
- .eslintrc.json
- .gitignore
Expand Down Expand Up @@ -48,7 +49,7 @@ jobs:
- dependency-cache--
- run:
name: Install Dependencies
command: yarn install
command: yarn install --non-interactive
- save_cache:
paths:
- node_modules
Expand Down Expand Up @@ -78,6 +79,16 @@ jobs:
- run:
name: Upload coverage to coveralls
command: cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
build:
<<: *defaults
steps:
- attach_workspace:
at: ~/react-file-input
- run: yarn build
- run: cd docs-www
- run: yarn install --non-interactive
- run: yarn build
- run: cd ..
publish_package:
<<: *defaults
steps:
Expand Down Expand Up @@ -135,10 +146,14 @@ workflows:
- test:
requires:
- checkout
- build:
requires:
- checkout
- publish_package:
requires:
- lint
- test
- build
filters:
branches:
only:
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,7 @@ selenium-debug.log
.npm.debug
.eslintcache

.editorconfig
.editorconfig

docs-www/.cache/
docs-www/public/
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs-www/