forked from cruise-automation/webviz
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up basic Circle CI configuration (cruise-automation#2)
With linting and testing for now. Tightened the linter a bit to not even allow warnings, and fixed the one warning that we had.
- Loading branch information
1 parent
15d9485
commit d12d971
Showing
3 changed files
with
40 additions
and
3 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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# See https://circleci.com/docs/2.0/language-javascript/ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/node:11-browsers | ||
|
||
steps: | ||
- checkout | ||
|
||
- restore_cache: | ||
keys: | ||
- global-deps-{{ checksum "package-lock.json" }} | ||
- global-deps- | ||
|
||
- restore_cache: | ||
keys: | ||
- regl-worldview-deps-{{ checksum "package-lock.json" }} | ||
- regl-worldview-deps- | ||
|
||
- run: npm run bootstrap | ||
|
||
- save_cache: | ||
paths: ["node_modules"] | ||
key: global-deps-{{ checksum "package-lock.json" }} | ||
|
||
- save_cache: | ||
paths: ["packages/regl-worldview/node_modules"] | ||
key: regl-worldview-deps-{{ checksum "packages/regl-worldview/package-lock.json" }} | ||
|
||
- run: | ||
name: "npm run lint" | ||
command: npm run lint | ||
|
||
- run: | ||
name: "npm test" | ||
command: npm test |
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
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