Skip to content

Commit

Permalink
Merge pull request newrelic#64 from bizob2828/drop-10
Browse files Browse the repository at this point in the history
removed node 10 from ci, updated engines to >=12, added files list an…
  • Loading branch information
carlo-808 authored Jul 16, 2021
2 parents bc63d99 + 12af60f commit fde10a2
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -44,7 +44,7 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 16.x]
node-version: [12.x, 14.x, 16.x]

steps:
- uses: actions/checkout@v2
Expand All @@ -54,7 +54,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm install
- name: Run Versioned Tests (npm v6 / Node 10-14)
- name: Run Versioned Tests (npm v6 / Node 12-14)
if: ${{ matrix.node-version != '16.x' }}
run: npm run versioned:npm6
- name: Run Versioned Tests (npm v7 / Node 16)
Expand Down
7 changes: 0 additions & 7 deletions lib/instrumentation/superagent/.npmignore

This file was deleted.

10 changes: 8 additions & 2 deletions lib/instrumentation/superagent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"tap": "^15.0.9"
},
"engines": {
"node": ">=10.0"
"node": ">=12.0"
},
"peerDependencies": {
"newrelic": ">=6.11.0"
Expand All @@ -33,5 +33,11 @@
"repository": {
"type": "git",
"url": "git+https://github.com/newrelic/node-newrelic-superagent.git"
}
},
"files": [
"*.md",
"index.js",
"nr-hooks.js",
"lib/**"
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"private": true,
"tests": [{
"engines": {
"node": ">=10"
"node": ">=12"
},
"dependencies": {
"superagent": ">=2"
Expand Down

0 comments on commit fde10a2

Please sign in to comment.