-
Notifications
You must be signed in to change notification settings - Fork 643
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: undo the monorepo setup * v5.3.0-alpha.1 * chore: minor touch ups during manual testing steps * fix: remove unused CircleCI test, format it
- Loading branch information
1 parent
1d600ed
commit 73343f6
Showing
235 changed files
with
24,040 additions
and
28,395 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,113 +1,99 @@ | ||
version: 2.1 | ||
|
||
executors: | ||
my-executor: | ||
docker: | ||
- image: cimg/node:14.18.1 | ||
environment: | ||
CI: true | ||
my-executor: | ||
docker: | ||
- image: cimg/node:14.18.1 | ||
environment: | ||
CI: true | ||
|
||
orbs: | ||
node: circleci/node@4.7.0 | ||
node: circleci/node@4.7.0 | ||
|
||
jobs: | ||
# mobx-state-tree build | ||
build: | ||
executor: my-executor | ||
steps: | ||
- checkout | ||
|
||
- node/install-packages: | ||
pkg-manager: yarn | ||
|
||
- run: yarn build | ||
|
||
- persist_to_workspace: | ||
root: . | ||
paths: | ||
- ./* | ||
|
||
# mobx-state-tree tests | ||
test-mst-dev: | ||
executor: my-executor | ||
steps: | ||
- attach_workspace: | ||
at: . | ||
|
||
- run: yarn test:mst:dev -i --coverage | ||
- store_test_results: | ||
path: ./test-results | ||
|
||
- persist_to_workspace: | ||
root: . | ||
paths: | ||
- packages/mobx-state-tree/coverage/* | ||
|
||
test-mst-prod: | ||
executor: my-executor | ||
steps: | ||
- attach_workspace: | ||
at: . | ||
|
||
- run: yarn test:mst:prod -i | ||
- store_test_results: | ||
path: ./test-results | ||
|
||
test-mst-others: | ||
executor: my-executor | ||
steps: | ||
- attach_workspace: | ||
at: . | ||
|
||
- run: yarn test:mst:others | ||
- store_test_results: | ||
path: ./test-results | ||
|
||
test-size: | ||
executor: my-executor | ||
steps: | ||
- attach_workspace: | ||
at: . | ||
|
||
- run: yarn size | ||
|
||
# upload coverage | ||
upload-codecov: | ||
executor: my-executor | ||
steps: | ||
- attach_workspace: | ||
at: . | ||
# only run codecov if the token is present (it is not present for fork PRs for security reasons) | ||
- run: | ||
name: upload codecov | ||
command: | | ||
if [[ -v CODECOV_TOKEN ]] | ||
then | ||
./node_modules/.bin/codecov | ||
else | ||
echo "Warning - Codecov info could NOT be uploaded since the CODECOV_TOKEN was not available" | ||
fi | ||
# mobx-state-tree build | ||
build: | ||
executor: my-executor | ||
steps: | ||
- checkout | ||
|
||
- node/install-packages: | ||
pkg-manager: yarn | ||
|
||
- run: yarn build | ||
|
||
- persist_to_workspace: | ||
root: . | ||
paths: | ||
- ./* | ||
|
||
# mobx-state-tree tests | ||
test-mst-dev: | ||
executor: my-executor | ||
steps: | ||
- attach_workspace: | ||
at: . | ||
|
||
- run: yarn test:dev -i --coverage | ||
- store_test_results: | ||
path: ./test-results | ||
|
||
- persist_to_workspace: | ||
root: . | ||
paths: | ||
- ./coverage/* | ||
|
||
test-mst-prod: | ||
executor: my-executor | ||
steps: | ||
- attach_workspace: | ||
at: . | ||
|
||
- run: yarn test:prod -i | ||
- store_test_results: | ||
path: ./test-results | ||
|
||
test-size: | ||
executor: my-executor | ||
steps: | ||
- attach_workspace: | ||
at: . | ||
|
||
- run: yarn size | ||
|
||
# upload coverage | ||
upload-codecov: | ||
executor: my-executor | ||
steps: | ||
- attach_workspace: | ||
at: . | ||
# only run codecov if the token is present (it is not present for fork PRs for security reasons) | ||
- run: | ||
name: upload codecov | ||
command: | | ||
if [[ -v CODECOV_TOKEN ]] | ||
then | ||
./node_modules/.bin/codecov | ||
else | ||
echo "Warning - Codecov info could NOT be uploaded since the CODECOV_TOKEN was not available" | ||
fi | ||
workflows: | ||
version: 2 | ||
build-and-test: | ||
jobs: | ||
version: 2 | ||
build-and-test: | ||
jobs: | ||
- build | ||
|
||
- test-mst-dev: | ||
requires: | ||
- build | ||
- test-mst-prod: | ||
requires: | ||
- build | ||
- test-size: | ||
requires: | ||
- build | ||
|
||
- test-mst-dev: | ||
requires: | ||
- build | ||
- test-mst-prod: | ||
requires: | ||
- build | ||
- test-mst-others: | ||
requires: | ||
- build | ||
|
||
- test-size: | ||
requires: | ||
- build | ||
|
||
- upload-codecov: | ||
requires: | ||
- test-mst-dev | ||
- upload-codecov: | ||
requires: | ||
- test-mst-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,3 +12,4 @@ package-lock.json | |
/test-results/**/*.xml | ||
/website/build | ||
.DS_Store | ||
junit.xml |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Oops, something went wrong.