Use node 24

This commit is contained in:
Sander Declerck 2025-11-28 11:24:08 +01:00
parent 7f1710fb73
commit 97883a42c2
No known key found for this signature in database

View file

@ -15,32 +15,32 @@ jobs:
- os: macos - os: macos
arch: x64 arch: x64
runner: macos-15-intel runner: macos-15-intel
target: node22-macos-x64 target: node24-macos-x64
extension: "" extension: ""
- os: macos - os: macos
arch: arm64 arch: arm64
runner: macos-latest runner: macos-latest
target: node22-macos-arm64 target: node24-macos-arm64
extension: "" extension: ""
- os: linux - os: linux
arch: x64 arch: x64
runner: ubuntu-latest runner: ubuntu-latest
target: node22-linux-x64 target: node24-linux-x64
extension: "" extension: ""
- os: linux - os: linux
arch: arm64 arch: arm64
runner: ubuntu-24.04-arm runner: ubuntu-24.04-arm
target: node22-linux-arm64 target: node24-linux-arm64
extension: "" extension: ""
- os: win - os: win
arch: x64 arch: x64
runner: windows-latest runner: windows-latest
target: node22-win-x64 target: node24-win-x64
extension: ".exe" extension: ".exe"
- os: win - os: win
arch: arm64 arch: arm64
runner: windows-11-arm runner: windows-11-arm
target: node22-win-arm64 target: node24-win-arm64
extension: ".exe" extension: ".exe"
steps: steps:
@ -50,7 +50,7 @@ jobs:
- name: Set up Node.js - name: Set up Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: "22.x" node-version: "24.x"
- name: Setup safe-chain - name: Setup safe-chain
run: | run: |
@ -63,7 +63,7 @@ jobs:
- name: Create binary - name: Create binary
run: | run: |
node build.js ${{ matrix.target }} node build.js ${{ matrix.target }}
pkg ./build/package.json pkg ./build/package.json --output "./dist/safe-chain${{ matrix.extension }}"
- name: Upload binary artifact - name: Upload binary artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4