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
Matt Hamann
committed
Nov 24, 2020
1 parent
91e9106
commit 85229df
Showing
2 changed files
with
57 additions
and
25 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,57 @@ | ||
version: 2.1 | ||
|
||
commands: | ||
test-nodejs: | ||
steps: | ||
- run: | ||
name: Versions | ||
command: npm version | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }} | ||
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-master-{{ .Environment.CIRCLE_JOB }} | ||
- run: | ||
name: Install dependencies | ||
command: npm ci | ||
- run: | ||
name: Test | ||
command: npm test | ||
- coverage | ||
- save-npm-cache | ||
save-npm-cache: | ||
steps: | ||
- save_cache: | ||
key: v{{ .Environment.CIRCLE_CACHE_VERSION }}-{{ arch }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package-lock.json" }} | ||
paths: | ||
- ~/.npm/_cacache | ||
coverage: | ||
steps: | ||
- run: | ||
command: npm run cover | ||
- run: | ||
command: npm run coveralls | ||
jobs: | ||
node-v10: | ||
docker: | ||
- image: node:10 | ||
steps: | ||
- test-nodejs | ||
node-v12: | ||
docker: | ||
- image: node:12 | ||
steps: | ||
- test-nodejs | ||
node-v14: | ||
docker: | ||
- image: node:14 | ||
steps: | ||
- test-nodejs | ||
|
||
workflows: | ||
version: 2 | ||
node-multi-build: | ||
jobs: | ||
- node-v10 | ||
- node-v12 | ||
- node-v14 |
This file was deleted.
Oops, something went wrong.