-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from azuqua/OKTA-226174
feat(ci): switch to circleci... ci
- Loading branch information
Showing
5 changed files
with
1,090 additions
and
13 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,43 @@ | ||
# Javascript Node CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-javascript/ for more details | ||
# | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# specify the version you desire here | ||
- image: circleci/node:8 | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
# - image: circleci/mongo:3.4.4 | ||
|
||
working_directory: ~/repo | ||
|
||
steps: | ||
- checkout | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: yarn install --frozen-lockfile | ||
|
||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- run: | ||
name: Run mocha unit tests with JUnit as reporter | ||
command: yarn test --exit --reporter mocha-junit-reporter --reporter-options mochaFile=reports/junit/mocha-junit-results.xml | ||
when: always | ||
- store_test_results: | ||
path: reports/junit | ||
- store_artifacts: | ||
path: ./reports/junit/mocha-junit-results.xml |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ | |
"test": "tests" | ||
}, | ||
"scripts": { | ||
"test": "grunt" | ||
"test": "mocha tests/*.js" | ||
}, | ||
"author": "austin brown <[email protected]> (http://www.azuqua.com/)", | ||
"license": "MIT", | ||
|
@@ -31,6 +31,7 @@ | |
"grunt-contrib-jshint": "^1.1.0", | ||
"grunt-mocha-test": "^0.13.3", | ||
"mocha": "^5.2.0", | ||
"mocha-junit-reporter": "^1.22.0", | ||
"uuid": "^3.3.2" | ||
}, | ||
"keywords": [ | ||
|
Oops, something went wrong.