Skip to content
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
30 changes: 1 addition & 29 deletions .github/workflows/publish_to_npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@ jobs:
rustup target install x86_64-apple-darwin
yarn build --target x86_64-apple-darwin
strip -x *.node
- host: windows-latest
build: |
yarn set version 3
rustup target add x86_64-pc-windows-msvc
yarn build --target x86_64-pc-windows-msvc
target: x86_64-pc-windows-msvc
- host: ubuntu-latest
target: x86_64-unknown-linux-gnu
docker: ghcr.io/${{ github.repository }}/nodejs-rust:debian
Expand Down Expand Up @@ -66,12 +60,6 @@ jobs:
yarn set version 3
yarn build --target aarch64-unknown-linux-gnu
aarch64-unknown-linux-gnu-strip *.node
- host: windows-latest
target: aarch64-pc-windows-msvc
build: |
yarn set version 3
rustup target add aarch64-pc-windows-msvc
yarn build --target aarch64-pc-windows-msvc
name: stable - ${{ matrix.settings.target }} - node@22
runs-on: ${{ matrix.settings.host }}
steps:
Expand Down Expand Up @@ -107,20 +95,8 @@ jobs:
run: ${{ matrix.settings.setup }}
if: ${{ matrix.settings.setup }}
shell: bash
- name: Setup node x86
if: matrix.settings.target == 'i686-pc-windows-msvc'
run: yarn config set supportedArchitectures.cpu "ia32"
shell: bash
- name: Install dependencies
run: yarn install
- name: Setup node x86
uses: actions/setup-node@v4
if: matrix.settings.target == 'i686-pc-windows-msvc'
with:
node-version: 22
check-latest: true
cache: yarn
architecture: x86
- name: Log in to GitHub Container Registry
if: ${{ matrix.settings.docker }}
uses: docker/login-action@v3
Expand Down Expand Up @@ -148,7 +124,7 @@ jobs:
name: bindings-${{ matrix.settings.target }}
path: ${{ env.APP_NAME }}.*.node
if-no-files-found: error
test-macOS-windows-binding:
test-macOS-binding:
name: Test bindings on ${{ matrix.settings.target }} - node@${{ matrix.node }}
needs:
- build
Expand All @@ -162,9 +138,6 @@ jobs:
- host: macos-latest
target: aarch64-apple-darwin
architecture: arm64
- host: windows-latest
target: x86_64-pc-windows-msvc
architecture: x64
node:
- "20"
- "22"
Expand Down Expand Up @@ -305,7 +278,6 @@ jobs:
name: Publish
runs-on: ubuntu-latest
needs:
- test-macOS-windows-binding
- test-linux-x64-gnu-binding
- test-linux-x64-musl-binding
- test-linux-aarch64-gnu-binding
Expand Down
104 changes: 52 additions & 52 deletions index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@envio-dev/hypersync-client-darwin-arm64",
"version": "1.0.1",
"version": "1.1.0",
"cpu": [
"arm64"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@envio-dev/hypersync-client-darwin-x64",
"version": "1.0.1",
"version": "1.1.0",
"cpu": [
"x64"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@envio-dev/hypersync-client-linux-arm64-gnu",
"version": "1.0.1",
"version": "1.1.0",
"cpu": [
"arm64"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@envio-dev/hypersync-client-linux-x64-gnu",
"version": "1.0.1",
"version": "1.1.0",
"cpu": [
"x64"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-x64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@envio-dev/hypersync-client-linux-x64-musl",
"version": "1.0.1",
"version": "1.1.0",
"cpu": [
"x64"
],
Expand Down
3 changes: 0 additions & 3 deletions npm/win32-arm64-msvc/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions npm/win32-arm64-msvc/package.json

This file was deleted.

3 changes: 0 additions & 3 deletions npm/win32-x64-msvc/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions npm/win32-x64-msvc/package.json

This file was deleted.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@envio-dev/hypersync-client",
"description": "HyperSync Client by Envio",
"version": "1.0.1",
"version": "1.1.0",
"main": "index.js",
"types": "index.d.ts",
"napi": {
Expand All @@ -12,9 +12,7 @@
"aarch64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"aarch64-pc-windows-msvc"
"x86_64-apple-darwin"
]
},
"license": "MIT",
Expand Down