File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ branches : [main]
8+
9+ jobs :
10+ test :
11+ name : Test on Node.js ${{ matrix.node-version }}
12+ runs-on : ubuntu-latest
13+
14+ strategy :
15+ matrix :
16+ node-version : ['8', '18', '20', '22']
17+ fail-fast : false
18+
19+ steps :
20+ - uses : actions/checkout@v4
21+
22+ - name : Use Node.js ${{ matrix.node-version }}
23+ uses : actions/setup-node@v4
24+ with :
25+ node-version : ${{ matrix.node-version }}
26+
27+ - name : Run Tests
28+ run : npm test
Original file line number Diff line number Diff line change @@ -965,6 +965,7 @@ P.toJSON = P.toString = function () {
965965 Big = x . constructor ;
966966 return stringify ( x , x . e <= Big . NE || x . e >= Big . PE , ! ! x . c [ 0 ] ) ;
967967} ;
968+
968969if ( typeof Symbol !== "undefined" ) {
969970 P [ Symbol . for ( 'nodejs.util.inspect.custom' ) ] = P . toJSON ;
970971}
You can’t perform that action at this time.
0 commit comments