-
Notifications
You must be signed in to change notification settings - Fork 3
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 #32 from identity-com/master
Stage fetch polyfill
- Loading branch information
Showing
8 changed files
with
400 additions
and
85 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,4 +1,6 @@ | ||
defaults: | ||
- &update_npm_on_machine | ||
run: npm install [email protected] -g | ||
- &cache_restore | ||
restore_cache: | ||
keys: | ||
|
@@ -54,7 +56,7 @@ workflows: | |
jobs: | ||
build: | ||
docker: | ||
- image: circleci/node:8.9 | ||
- image: circleci/node:8.15 | ||
- image: trufflesuite/ganache-cli | ||
command: [ganache, -m, 'drum muscle maximum umbrella night initial prevent auction pink old fault media', -h, '0.0.0.0', -l, '7992181', -g, '1000000000', -e, '1000'] | ||
|
||
|
@@ -63,9 +65,8 @@ jobs: | |
steps: | ||
- checkout | ||
- *cache_restore | ||
- run: | ||
command: | | ||
npm install | ||
- run: npm ci | ||
- run: npm run audit-ci | ||
- *cache_save | ||
- run: npm run check-ci | ||
|
||
|
@@ -79,7 +80,8 @@ jobs: | |
- checkout | ||
- *cache_restore | ||
- *install_node | ||
- run: npm install | ||
- *update_npm_on_machine | ||
- run: npm ci | ||
- *cache_save | ||
- run: | ||
name: Pull latest docker images | ||
|
@@ -89,14 +91,14 @@ jobs: | |
|
||
build-marketplace-tx-server-latest: | ||
docker: | ||
- image: circleci/node:8.9 | ||
- image: circleci/node:8.15 | ||
|
||
steps: | ||
- run: curl -d "build_parameters[CIRCLE_JOB]=build-docker-latest" "https://circleci.com/api/v1.1/project/github/civicteam/civic_js_node_server/tree/dev?circle-token=${CIRCLE_TOKEN}" | ||
|
||
build-marketplace-tx-server-test: | ||
docker: | ||
- image: circleci/node:8.9 | ||
- image: circleci/node:8.15 | ||
|
||
steps: | ||
- run: curl -d "build_parameters[CIRCLE_JOB]=build-docker-test" "https://circleci.com/api/v1.1/project/github/civicteam/civic_js_node_server/tree/master?circle-token=${CIRCLE_TOKEN}" |
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,15 @@ | ||
This project uses [npm audit](https://docs.npmjs.com/cli/audit) to scan dependencies for vulnerabilities | ||
and automatically install any compatible updates to vulnerable dependencies. | ||
The security audit is also integrated into the project's CI pipeline via [audit-ci](https://github.com/IBM/audit-ci) command | ||
which fails the build if there is any vulnerability found. | ||
It is possible to ignore specific errors by whitelisting them in [audit-ci config.](./audit-ci.json). | ||
|
||
## NPM audit whitelist | ||
Whenever you whitelist a specific advisory it is required to refer it here and justify the whitelisting. | ||
|
||
### Advisories | ||
|
||
| # | Level | Module | Title | Explanation | | ||
|------|-------|---------|------|-------------| | ||
| | | | | | | ||
|
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"low": true, | ||
"package-manager": "auto", | ||
"report": true, | ||
"advisories": [], | ||
"whitelist": [] | ||
} |
Oops, something went wrong.