Skip to content

Commit

Permalink
Merge pull request #219 from jeffesquivels/master
Browse files Browse the repository at this point in the history
Support for building on Node v22
  • Loading branch information
kriszyp authored May 29, 2024
2 parents c3135a3 + ca3d8e1 commit 777a778
Show file tree
Hide file tree
Showing 5 changed files with 7,358 additions and 422 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install --ignore-scripts
Expand All @@ -19,16 +19,16 @@ jobs:
PREBUILD_ARCH: arm64
- run: tar --create --format ustar --verbose --file=prebuild-darwin.tar -C prebuilds .
- name: Prebuild
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: prebuild-darwin.tar
build-linux:
if: startsWith(github.ref, 'refs/tags/')
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install --ignore-scripts
Expand All @@ -37,22 +37,22 @@ jobs:
- run: npm run prebuild-linux-arm64-musl
- run: tar --create --verbose --file=prebuild-linux.tar -C prebuilds .
- name: Prebuild
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: prebuild-linux.tar
build-windows:
if: startsWith(github.ref, 'refs/tags/')
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install --ignore-scripts
- run: npm run prebuild
- run: tar --create --verbose --file=prebuild-windows.tar -C prebuilds .
- name: Prebuild
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: prebuild-windows.tar
12 changes: 6 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,29 @@ jobs:
test-macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm test
test-linux:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
- run: npm test
test-windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
- run: npm install
Expand Down
Loading

0 comments on commit 777a778

Please sign in to comment.