Skip to content

Commit

Permalink
chore(mojaloop/#3444): nodejs upgrade (#168)
Browse files Browse the repository at this point in the history
chore(mojaloop/#3444): nodejs upgrade - mojaloop/project#3444
- Upgraded NodeJS from v16 to v18 LTS
- Updated CI config to use NodeJS latest LTS version
- Updated CI config to display runtime versions for each job
- Upgraded NPM dependencies
- Fixed CI bugs caused by the NodeJS upgrade
- Updated CI pipeline use NVM to select node version from` .nvmrc` file
- Upgraded circleci orbs
- Migrated `master` branch to `main`
  • Loading branch information
oderayi committed Sep 26, 2023
1 parent 8e16f61 commit 6efb502
Show file tree
Hide file tree
Showing 11 changed files with 6,422 additions and 18,040 deletions.
293 changes: 208 additions & 85 deletions .circleci/config.yml

Large diffs are not rendered by default.

6 changes: 1 addition & 5 deletions .ncurc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
{
"reject": [
"eslint",
"node-fetch",
"ava"
]
"reject": []
}
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.15.0
18.17.1
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# mojaloop simulator
[![Git Commit](https://img.shields.io/github/last-commit/mojaloop/mojaloop-simulator.svg?style=flat)](https://github.com/mojaloop/mojaloop-simulator/commits/master)
[![Git Commit](https://img.shields.io/github/last-commit/mojaloop/mojaloop-simulator.svg?style=flat)](https://github.com/mojaloop/mojaloop-simulator/commits/main)
[![Git Releases](https://img.shields.io/github/v/release/mojaloop/mojaloop-simulator?include_prereleases)](https://github.com/mojaloop/mojaloop-simulator/releases)
[![Docker pulls](https://img.shields.io/docker/pulls/mojaloop/mojaloop-simulator.svg?style=flat)](https://hub.docker.com/r/mojaloop/mojaloop-simulator)
[![CircleCI](https://circleci.com/gh/mojaloop/mojaloop-simulator.svg?style=svg)](https://circleci.com/gh/mojaloop/mojaloop-simulator)
Expand All @@ -16,9 +16,9 @@ A diagram showing the logical architecture of the simulator in a test scenario c

## Deploy with Helm and init containers (optional)
Three init containers,
- [onboard-hub-accounts](https://github.com/mojaloop/mojaloop-simulator/tree/master/init/onboard-hub-accounts)
- [onboard-central-ledger](https://github.com/mojaloop/mojaloop-simulator/tree/master/init/onboard-central-ledger)
- [onboard-msisdn-oracle](https://github.com/mojaloop/mojaloop-simulator/tree/master/init/onboard-msisdn-oracle)
- [onboard-hub-accounts](https://github.com/mojaloop/mojaloop-simulator/tree/main/init/onboard-hub-accounts)
- [onboard-central-ledger](https://github.com/mojaloop/mojaloop-simulator/tree/main/init/onboard-central-ledger)
- [onboard-msisdn-oracle](https://github.com/mojaloop/mojaloop-simulator/tree/main/init/onboard-msisdn-oracle)

are provided for optional use and may make an automated deployment via Helm chart easier than otherwise. Please see the [example](docs/values-sims.example.yaml) config.

Expand Down
12 changes: 12 additions & 0 deletions audit-ci.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://github.com/IBM/audit-ci/raw/main/docs/schema.json",
// audit-ci supports reading JSON, JSONC, and JSON5 config files.
// Only use one of ["low": true, "moderate": true, "high": true, "critical": true]
"moderate": true,
"allowlist": [
// NOTE: Please add as much information as possible to any items added to the allowList
// Currently no fixes available for the following
"GHSA-pfrx-2q88-qq97", // https://github.com/advisories/GHSA-pfrx-2q88-qq97
"GHSA-jqv5-7xpx-qj74" // https://github.com/advisories/GHSA-jqv5-7xpx-qj74
]
}
Loading

0 comments on commit 6efb502

Please sign in to comment.