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

feat: add support for node version 22 #110

Open
wants to merge 2 commits into
base: prebuilt-multiarch
Choose a base branch
from
Open
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
10 changes: 5 additions & 5 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:

- name: darwin-x86_64
os: macOS-latest

- name: darwin-arm64
# xlarge is arm64
# https://docs.github.com/en/actions/using-github-hosted-runners/about-larger-runners/about-larger-runners#about-macos-larger-runners
Expand All @@ -89,15 +89,15 @@ jobs:
- name: windows-x86_64
os: windows-2022

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
steps:
- uses: actions/checkout@v4
with:
ref: ${{ inputs.ref }}
repository: ${{ inputs.repository }}

- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x

- name: Linux - Setup Dependencies
if: runner.os == 'Linux'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ jobs:
with:
ref: ${{ github.ref }}
repository: ${{ github.repository }}

release:
runs-on: ubuntu-latest
needs:
- prebuild
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 22.x
registry-url: "https://registry.npmjs.org" # required to use auth
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
uses: actions/checkout@v4
with:
ref: ${{ env.GIT_REF }}
repository: ${{ env.GIT_REPO }}
- name: Setup Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
- uses: actions/download-artifact@c850b930e6ba138125429b7e5c93fc707a7f8427 # v4.1.4
with:
path: prebuilds
Expand Down
4 changes: 4 additions & 0 deletions .prebuild/buildify-windows.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ const nodeBuildTargets = [
"19.0.0",
"-t",
"20.0.0",
'-t',
'21.0.0',
'-t',
'22.0.0'
];

const nodeBuildCmd = [
Expand Down
6 changes: 5 additions & 1 deletion .prebuild/buildify.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ const nodeBuildTargets = [
'19.0.0',
'-t',
'20.0.0',
'-t',
'21.0.0',
'-t',
'22.0.0'
]

const nodeBuildCmd = [
Expand All @@ -44,4 +48,4 @@ try {
} catch (e) {
console.error(e);
process.exit(0);
}
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
"decompress-targz": "^4.1.1",
"eslint": "^6.8.0",
"mocha": "^10.4.0",
"node-abi": "3.47.0",
"node-abi": "3.74.0",
"node-gyp": "^9.3.0",
"prebuild": "^12.1.0",
"prebuildify": "^5.0.1",
"prebuild": "^13.0.1",
"prebuildify": "^6.0.1",
"ps-list": "^6.0.0",
"typescript": "^3.8.3"
}
Expand Down
Loading
Loading