Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c2e955b
LI-116181 bump up form-data library to v3.0.4
grmeyer-hw-dev Jan 22, 2026
f416c78
LI-116181 bump up "mocha" to "^10.4.0",
grmeyer-hw-dev Jan 22, 2026
0091c83
LI-116181 bump min nodejs version from 8.x to 10.x
grmeyer-hw-dev Jan 22, 2026
83484c3
LI-116181 bump min nodejs version from 8.x to 10.x
grmeyer-hw-dev Jan 22, 2026
52edd20
LI-116181 fix JavaScript heap out of memory
grmeyer-hw-dev Jan 22, 2026
6bcef4c
LI-116181 fix JavaScript heap out of memory
grmeyer-hw-dev Jan 22, 2026
d8530a3
LI-116181 fix JavaScript heap out of memory
grmeyer-hw-dev Jan 22, 2026
861c739
LI-116181 fix JavaScript heap out of memory
grmeyer-hw-dev Jan 22, 2026
351a4f0
LI-116181 fix JavaScript heap out of memory
grmeyer-hw-dev Jan 23, 2026
2ca6ffa
LI-116181 fix JavaScript heap out of memory
grmeyer-hw-dev Jan 23, 2026
6a9f107
LI-116181 fix JavaScript heap out of memory
grmeyer-hw-dev Jan 23, 2026
fc3a72e
LI-116181 Add support to node v20
grmeyer-hw-dev Jan 23, 2026
a96e8b3
LI-116181 Add support to node v20
grmeyer-hw-dev Jan 23, 2026
fc0183e
LI-116181 Add support to node v20
grmeyer-hw-dev Jan 23, 2026
94fb227
LI-116181 Add support to node v20
grmeyer-hw-dev Jan 23, 2026
88931d9
LI-116181 Limit mocha with 2 parallel jobs
grmeyer-hw-dev Jan 23, 2026
2103a3b
LI-116181 Limit mocha with 1 parallel jobs
grmeyer-hw-dev Jan 23, 2026
90f4f66
LI-116181 Limit mocha with 1 parallel jobs
grmeyer-hw-dev Jan 23, 2026
d78d26f
LI-116181 Limit mocha with 1 parallel jobs
grmeyer-hw-dev Jan 23, 2026
d852f5a
LI-116181 Limit mocha with 1 parallel jobs
grmeyer-hw-dev Jan 23, 2026
d3e969b
LI-116181 Limit mocha with 1 parallel jobs
grmeyer-hw-dev Jan 23, 2026
eef8b15
LI-116181 Limit mocha with 1 parallel jobs
grmeyer-hw-dev Jan 23, 2026
783742d
LI-116181 Limit mocha with 1 parallel jobs
grmeyer-hw-dev Jan 23, 2026
aa337cd
LI-116181 Limit mocha with 1 parallel jobs
grmeyer-hw-dev Jan 23, 2026
86ccbb4
LI-116181 Limit mocha with 1 parallel jobs
grmeyer-hw-dev Jan 23, 2026
29a2efa
LI-116181 Limit mocha with 1 parallel jobs
grmeyer-hw-dev Jan 23, 2026
4e37a00
LI-116181 Limit mocha with 1 parallel jobs
grmeyer-hw-dev Jan 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 23 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,43 +12,53 @@ on:
jobs:
test:
runs-on: ubuntu-latest

env:
NODE_OPTIONS: --max-old-space-size=8192
strategy:
fail-fast: false
matrix:
node-version: [8.x ,14.x ,16.x]
node-version: [14.x ,16.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: npm install
- run: npm run build --if-present
- run: npm run test

- run: |
npm install
npm run build --if-present
npm run ci
env:
NODE_OPTIONS: --max-old-space-size=8192

code-coverage:
runs-on: ubuntu-latest
env:
NODE_OPTIONS: --max-old-space-size=8192

strategy:
fail-fast: false
matrix:
node-version: [ 8.x ]
node-version: [ 14.x ]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'

- run: npm install
- run: npm run build --if-present
- run: npm run test-coverage
- run: |
npm install
npm run build --if-present
npm run test-coverage
env:
NODE_OPTIONS: --max-old-space-size=8192

- name: Coveralls
uses: coverallsapp/github-action@master
Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "A library to manage users, transfer methods and payments through the Hyperwallet API",
"main": "lib/index.js",
"dependencies": {
"form-data": "^3.0.0",
"form-data": "^3.0.4",
"node-jose": "^2.2.0",
"object-assign": "^4.1.0",
"superagent": "^4.0.0",
Expand All @@ -16,7 +16,9 @@
"docs": "esdoc -c ./.esdoc.json",
"deploy-docs": "npm run docs && gh-pages -d docs",
"test": "npm run lint && npm run test-unit",
"test-unit": "nyc --reporter lcov mocha --require babel-core/register test/**/*.js test/*.js",
"ci": "npm run lint && npm run test-unit-ci",
"test-unit-ci": "mocha --parallel --jobs 1 --bail --require babel-core/register test/**/*.js test/*.js",
"test-unit": "nyc --reporter lcov mocha --parallel --jobs 1 --require babel-core/register test/**/*.js test/*.js",
"test-coverage": "nyc npm run test",
"coveralls": "npm run test-coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"prepublish-prod": "npm test && npm run prod",
Expand All @@ -43,7 +45,7 @@
},
"homepage": "http://hyperwallet.github.io/node-sdk",
"devDependencies": {
"babel-eslint": "^8.2.6",
"babel-eslint": "^10.1.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.9.0",
Expand All @@ -56,7 +58,7 @@
"eslint-config-airbnb-base": "^13.2.0",
"eslint-plugin-import": "^2.17.2",
"gh-pages": "^6.1.1",
"mocha": "^5.2.0",
"mocha": "^10.4.0",
"nock": "^10.0.4",
"nyc": "^15.0.0",
"publish-please": "^5.4.3",
Expand Down
Loading