Skip to content

Commit

Permalink
Upgrade NodeJS to version 20
Browse files Browse the repository at this point in the history
  • Loading branch information
Amrsatrio committed Dec 26, 2024
1 parent 6d47a68 commit bc5c11a
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ jobs:
target:
- x64
node:
- 18
- 20
include:
- os: windows-latest
node: 18
node: 20
host: x64
target: x86
- os: windows-latest
node: 18
node: 20
host: x64
target: arm64
- os: macos-latest
node: 18
node: 20
host: arm64
target: arm64
name: ${{ matrix.os }} (host=${{ matrix.host }}, target=${{ matrix.target }})
Expand Down Expand Up @@ -98,15 +98,15 @@ jobs:

- name: Upload binaries to commit artifacts
uses: actions/upload-artifact@v4
if: matrix.node == 18
if: matrix.node == 20
with:
name: prebuilt-binaries-${{ matrix.os }}-host${{ matrix.host }}-target${{ matrix.target }}.zip
path: prebuilds/*
retention-days: 7

- name: Upload binaries to GitHub Release
run: yarn upload --upload-all ${{ github.token }}
if: matrix.node == 18 && startsWith(github.ref, 'refs/tags/')
if: matrix.node == 20 && startsWith(github.ref, 'refs/tags/')

# build-qemu:
# runs-on: ubuntu-latest
Expand All @@ -115,7 +115,7 @@ jobs:
# fail-fast: false
# matrix:
# node:
# - 18
# - 20
# target:
# - linux/arm64
# variant:
Expand All @@ -125,7 +125,7 @@ jobs:
# # musl x64 builds
# - target: linux/amd64
# variant: alpine3.15
# node: 18
# node: 20
# name: ${{ matrix.variant }} (node=${{ matrix.node }}, target=${{ matrix.target }})
# steps:
# - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
Expand All @@ -152,12 +152,12 @@ jobs:
#
# - name: Upload binaries to commit artifacts
# uses: actions/upload-artifact@v4
# if: matrix.node == 18
# if: matrix.node == 20
# with:
# name: prebuilt-binaries
# path: prebuilds/*
# retention-days: 7
#
# - name: Upload binaries to GitHub Release
# run: yarn install --ignore-scripts && yarn upload --upload-all ${{ github.token }}
# if: matrix.node == 18 && startsWith(github.ref, 'refs/tags/')
# if: matrix.node == 20 && startsWith(github.ref, 'refs/tags/')

0 comments on commit bc5c11a

Please sign in to comment.