Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Added Node 22 to CI #250

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 4 additions & 4 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci
run: npm install
- name: Run Linting
run: npm run lint
- name: Inspect Lockfile
Expand All @@ -38,7 +38,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
node: [ 16, 18, 20 ]
node: [ 16, 18, 20, 22 ]
arch: [ x86, x64 ]
exclude:
# Ubuntu does not ship x86 builds.
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
strategy:
matrix:
os: [ macos-14 ]
node: [ 16, 18, 20 ]
node: [ 16, 18, 20, 22 ]
arch: [ arm64 ]
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} / Node ${{ matrix.node }} ${{ matrix.arch }}
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
if: ${{ vars.NR_RUNNER != '' }}
strategy:
matrix:
node: [ 16, 18, 20 ]
node: [ 16, 18, 20, 22 ]
runs-on: ${{ vars.NR_RUNNER }}
name: Linux / Node ${{ matrix.node }} arm64
timeout-minutes: 15
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest, windows-latest ]
node: [ 16, 18, 20 ]
node: [ 16, 18, 20, 22 ]
arch: [ x86, x64 ]
exclude:
# Ubuntu does not ship x86 builds.
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
strategy:
matrix:
os: [ macos-14 ]
node: [ 16, 18, 20 ]
node: [ 16, 18, 20, 22 ]
arch: [ arm64 ]
runs-on: ${{ matrix.os }}
name: ${{ matrix.os }} / Node ${{ matrix.node }} ${{ matrix.arch }}
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
if: ${{ vars.NR_RUNNER != '' }}
strategy:
matrix:
node: [ 16, 18, 20 ]
node: [ 16, 18, 20, 22 ]
runs-on: ${{ vars.NR_RUNNER }}
name: Linux / Node ${{ matrix.node }} arm64
timeout-minutes: 15
Expand Down Expand Up @@ -184,7 +184,7 @@ jobs:
- uses: actions/setup-node@v4
- run: |
# Install agent-repo dependencies.
npm ci --prefix agent-repo
npm install --prefix agent-repo
- name: Configure GitHub Credentials
run: |
git config user.name ${GITHUB_ACTOR}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ prebuilds/
# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
package-lock.json

# Misc Other
.DS_store
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
41 changes: 3 additions & 38 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ code, the source code can be found at [https://github.com/newrelic/node-native-m
* [nock](#nock)
* [prettier](#prettier)
* [proxyquire](#proxyquire)
* [segfault-handler](#segfault-handler)
* [sinon](#sinon)
* [tap](#tap)

Expand All @@ -48,7 +47,7 @@ code, the source code can be found at [https://github.com/newrelic/node-native-m

### nan

This product includes source derived from [nan](https://github.com/nodejs/nan) ([v2.18.0](https://github.com/nodejs/nan/tree/v2.18.0)), distributed under the [MIT License](https://github.com/nodejs/nan/blob/v2.18.0/LICENSE.md):
This product includes source derived from [nan](https://github.com/nodejs/nan) ([v2.19.0](https://github.com/nodejs/nan/tree/v2.19.0)), distributed under the [MIT License](https://github.com/nodejs/nan/blob/v2.19.0/LICENSE.md):

```
The MIT License (MIT)
Expand All @@ -65,7 +64,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI

### node-gyp-build

This product includes source derived from [node-gyp-build](https://github.com/prebuild/node-gyp-build) ([v4.8.0](https://github.com/prebuild/node-gyp-build/tree/v4.8.0)), distributed under the [MIT License](https://github.com/prebuild/node-gyp-build/blob/v4.8.0/LICENSE):
This product includes source derived from [node-gyp-build](https://github.com/prebuild/node-gyp-build) ([v4.8.1](https://github.com/prebuild/node-gyp-build/tree/v4.8.1)), distributed under the [MIT License](https://github.com/prebuild/node-gyp-build/blob/v4.8.1/LICENSE):

```
The MIT License (MIT)
Expand Down Expand Up @@ -126,7 +125,7 @@ OTHER DEALINGS IN THE SOFTWARE.

### prebuildify

This product includes source derived from [prebuildify](https://github.com/prebuild/prebuildify) ([v6.0.0](https://github.com/prebuild/prebuildify/tree/v6.0.0)), distributed under the [MIT License](https://github.com/prebuild/prebuildify/blob/v6.0.0/LICENSE):
This product includes source derived from [prebuildify](https://github.com/prebuild/prebuildify) ([v6.0.1](https://github.com/prebuild/prebuildify/tree/v6.0.1)), distributed under the [MIT License](https://github.com/prebuild/prebuildify/blob/v6.0.1/LICENSE):

```
The MIT License (MIT)
Expand Down Expand Up @@ -7274,40 +7273,6 @@ OTHER DEALINGS IN THE SOFTWARE.

```

### segfault-handler

This product includes source derived from [segfault-handler](https://github.com/ddopson/node-segfault-handler) ([v1.3.0](https://github.com/ddopson/node-segfault-handler/tree/v1.3.0)), distributed under the [BSD-3-Clause License](https://github.com/ddopson/node-segfault-handler/blob/v1.3.0/LICENSE):

```
Copyright (c) 2015-2019 Dave Dopson.
Copyright (c) 2019 Kenneth Geisshirt.
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITYcAND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHERcIN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
```

### sinon

This product includes source derived from [sinon](https://github.com/sinonjs/sinon) ([v11.1.2](https://github.com/sinonjs/sinon/tree/v11.1.2)), distributed under the [BSD-3-Clause License](https://github.com/sinonjs/sinon/blob/v11.1.2/LICENSE):
Expand Down
Loading