Skip to content

Commit

Permalink
[#195] Fix no used modules
Browse files Browse the repository at this point in the history
* [email protected] a `Error: Cannot find module 'node:dns'` error
* Node@12 a `Error: Cannot find module 'node:dns'` error
[#193] Update gRPC library
  • Loading branch information
feelform committed Jul 16, 2024
1 parent 71abe60 commit 03045cf
Show file tree
Hide file tree
Showing 14 changed files with 6,945 additions and 318 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
strategy:
matrix:
node_version:
- 12
- 14
- 10.10.0
- 16
- 18

name: Node ${{ matrix.node_version }} on ubuntu-latest
steps:
Expand All @@ -33,15 +33,15 @@ jobs:
# - uses: jwgmeligmeyling/checkstyle-github-action@master
# with:
# path: '**/checkstyle-result.xml'
# github-token: ${{ secrets.GITHUB_TOKEN }}
# token: ${{ secrets.UPLOAD_ARTIFACTS_GITHUB_TOKEN }}
- name: Coverage
run: npm run coverage
# ... Generate LCOV files or download it from a different job
- name: Setup LCOV
uses: hrishikesh-kadam/setup-lcov@v1
- name: Report coverage
uses: zgosalvez/github-actions-report-lcov@v3
with:
coverage-files: coverage/lcov.info
github-token: ${{ secrets.ACTIONS_TOKEN }}
artifact-name: code-coverage-report
github-token: ${{ secrets.UPLOAD_ARTIFACTS_GITHUB_TOKEN }}
update-comment: true
8 changes: 4 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ yarn-error.log*
packages/**/.npmrc

.vscode

package-lock.json

yarn.lock

.node-version
Expand All @@ -42,4 +39,7 @@ yarn.lock
checkstyle-results.xml

# coverage
.nyc_output
.nyc_output

# gRPC
grpc
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "grpc/grpc-idl"]
path = grpc/grpc-idl
url = https://github.com/pinpoint-apm/pinpoint-grpc-idl.git
7 changes: 6 additions & 1 deletion .nycrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{
"exclude": ["lib/data/grpc/**/*", "test/**/*"]
"include": [
"lib/**/*.js"
],
"exclude": [
"lib/data/grpc/**/*", "test/**/*"
]
}
2 changes: 1 addition & 1 deletion grpc/grpc-idl
173 changes: 0 additions & 173 deletions lib/instrumentation/module/mysql.js

This file was deleted.

106 changes: 0 additions & 106 deletions lib/instrumentation/module/mysql2.js

This file was deleted.

Loading

0 comments on commit 03045cf

Please sign in to comment.