Skip to content

Commit

Permalink
Fix node bindings release (#1227)
Browse files Browse the repository at this point in the history
* Fix node bindings release

* Upgrade dev deps
  • Loading branch information
rygine authored Nov 6, 2024
1 parent e8fbeab commit 45c829b
Show file tree
Hide file tree
Showing 6 changed files with 1,832 additions and 1,778 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release-node-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
if: ${{ ! startsWith(matrix.target, 'aarch64') }}
working-directory: bindings_node
run: |
yarn build --target ${{ matrix.target }}
yarn build:release --target ${{ matrix.target }}
- name: Build target (aaarch64)
if: startsWith(matrix.target, 'aarch64')
Expand All @@ -87,7 +87,7 @@ jobs:
CC: aarch64-linux-gnu-gcc
working-directory: bindings_node
run: |
yarn build --target ${{ matrix.target }}
yarn build:release --target ${{ matrix.target }}
- name: Upload JS
# only upload the JS files once, target doesn't matter
Expand Down Expand Up @@ -156,7 +156,7 @@ jobs:
- name: Build target
working-directory: bindings_node
run: |
yarn build --target ${{ matrix.target }}
yarn build:release --target ${{ matrix.target }}
- name: Upload binding
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -237,7 +237,7 @@ jobs:
- name: Build target
working-directory: bindings_node
run: |
yarn build --target ${{ matrix.target }}
yarn build:release --target ${{ matrix.target }}
- name: Upload binding
uses: actions/upload-artifact@v4
Expand Down
894 changes: 0 additions & 894 deletions bindings_node/.yarn/releases/yarn-4.2.2.cjs

This file was deleted.

934 changes: 934 additions & 0 deletions bindings_node/.yarn/releases/yarn-4.5.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bindings_node/.yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.2.2.cjs
yarnPath: .yarn/releases/yarn-4.5.1.cjs
24 changes: 12 additions & 12 deletions bindings_node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@
"test:clean": "rm -rf test/*.db3*"
},
"devDependencies": {
"@ianvs/prettier-plugin-sort-imports": "^4.2.1",
"@ianvs/prettier-plugin-sort-imports": "^4.4.0",
"@napi-rs/cli": "^3.0.0-alpha.55",
"@types/node": "^20.14.2",
"@types/uuid": "^10",
"prettier": "^3.3.2",
"prettier-plugin-packagejson": "^2.5.0",
"typescript": "^5.4.5",
"uuid": "^10.0.0",
"viem": "^2.11.1",
"vite": "^5.2.13",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.6.0"
"@types/node": "^20.17.6",
"@types/uuid": "^10.0.0",
"prettier": "^3.3.3",
"prettier-plugin-packagejson": "^2.5.3",
"typescript": "^5.6.3",
"uuid": "^11.0.2",
"viem": "^2.21.41",
"vite": "^5.4.10",
"vite-tsconfig-paths": "^5.1.0",
"vitest": "^2.1.4"
},
"packageManager": "yarn@4.2.2",
"packageManager": "yarn@4.5.1",
"engines": {
"node": ">=18"
},
Expand Down
Loading

0 comments on commit 45c829b

Please sign in to comment.