-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
2,665 additions
and
3,472 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,17 +1,39 @@ | ||
version: 2.1 | ||
orbs: | ||
node: circleci/node@1.1.6 | ||
node: circleci/node@3.0.1 | ||
jobs: | ||
build-and-test: | ||
executor: | ||
name: node/default | ||
test: | ||
executor: node/default | ||
parameters: | ||
node-version: | ||
type: string | ||
steps: | ||
- checkout | ||
- node/with-cache: | ||
steps: | ||
- run: npm install | ||
- run: npm test | ||
- node/install: | ||
node-version: << parameters.node-version >> | ||
- node/install-packages | ||
- run: | ||
name: Node version | ||
command: node -v | ||
- run: | ||
name: Npm version | ||
command: npm -v | ||
- run: | ||
name: Validate TS types | ||
command: npm run typecheck | ||
- run: | ||
name: Run eslint | ||
command: npm run lint | ||
- run: | ||
name: Unit tests and coverage | ||
command: npm run test:coverage:summary | ||
workflows: | ||
build-and-test: | ||
all-tests: | ||
jobs: | ||
- build-and-test | ||
- test: | ||
matrix: | ||
parameters: | ||
node-version: | ||
- 12.18.0 | ||
- 13.14.0 | ||
- 14.5.0 |
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
Oops, something went wrong.