-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c9c59d
commit 49926b1
Showing
4 changed files
with
14,440 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,45 @@ | ||
version: 2 # use CircleCI 2.0 | ||
jobs: | ||
build: | ||
working_directory: ~/be-redux-react | ||
docker: | ||
- image: circleci/node:12.14.0-browsers | ||
|
||
steps: | ||
- checkout | ||
# Restore the dependency cache | ||
- restore_cache: | ||
key: be-redux-react-{{ checksum "package-lock.json" }} | ||
|
||
- run: | ||
name: Install dependencies with NPM | ||
command: npm install | ||
|
||
# Save the dependency cache | ||
- save_cache: | ||
key: be-redux-react-{{ checksum "package-lock.json" }} | ||
paths: | ||
- "node_modules" | ||
# - run: | ||
# name: Validate the style of the code | ||
# command: yarn lint | ||
|
||
- run: | ||
name: Run tests | ||
command: | | ||
mkdir /tmp/test-results | ||
npm test | ||
# Collect reports | ||
- store_artifacts: | ||
path: /tmp/test-results | ||
|
||
- store_test_results: | ||
path: /tmp/test-results | ||
destination: test-results | ||
|
||
workflows: | ||
version: 2 | ||
Build and Test: | ||
jobs: | ||
- build |
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
Oops, something went wrong.