duckdb 0.10.1-dev4.0 → 0.10.1-dev9.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -43,7 +43,7 @@ jobs:
|
|
43
43
|
strategy:
|
44
44
|
matrix:
|
45
45
|
# node.js current support policy to be found at https://github.com/duckdb/duckdb-node/tree/main/#Supported-Node-versions
|
46
|
-
node: [ '
|
46
|
+
node: [ '16', '17', '18', '19', '20', '21']
|
47
47
|
target_arch: [ x64, arm64 ]
|
48
48
|
isRelease:
|
49
49
|
- ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
|
@@ -118,7 +118,7 @@ jobs:
|
|
118
118
|
if: startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' || github.repository != 'duckdb/duckdb-node'
|
119
119
|
name: node.js OSX
|
120
120
|
runs-on: macos-latest
|
121
|
-
needs:
|
121
|
+
needs: set-up-npm
|
122
122
|
continue-on-error: ${{ matrix.node != '18' && matrix.node != '20' && matrix.node != '21' }}
|
123
123
|
strategy:
|
124
124
|
matrix:
|
@@ -185,14 +185,14 @@ jobs:
|
|
185
185
|
win-nodejs:
|
186
186
|
name: node.js Windows
|
187
187
|
runs-on: windows-latest
|
188
|
-
needs:
|
188
|
+
needs: set-up-npm
|
189
189
|
continue-on-error: ${{ matrix.node != '18' && matrix.node != '20' && matrix.node != '21' }}
|
190
190
|
env:
|
191
191
|
npm_config_msvs_version: 2019
|
192
192
|
|
193
193
|
strategy:
|
194
194
|
matrix:
|
195
|
-
node: [ '
|
195
|
+
node: [ '16', '17', '18', '19', '20', '21']
|
196
196
|
isRelease:
|
197
197
|
- ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
|
198
198
|
exclude:
|
package/package.json
CHANGED
package/scripts/node_build.sh
CHANGED
@@ -35,8 +35,8 @@ fi
|
|
35
35
|
export PATH=$(npm bin):$PATH
|
36
36
|
./node_modules/.bin/node-pre-gyp package testpackage testbinary --target_arch="$TARGET_ARCH"
|
37
37
|
|
38
|
-
LOCAL_BINARY=$(./node_modules/.bin/node-pre-gyp reveal staged_tarball --silent)
|
39
|
-
REMOTE_BINARY=$(./node_modules/.bin/node-pre-gyp reveal hosted_tarball --silent)
|
38
|
+
LOCAL_BINARY=$(./node_modules/.bin/node-pre-gyp reveal staged_tarball --silent --target_arch="$TARGET_ARCH")
|
39
|
+
REMOTE_BINARY=$(./node_modules/.bin/node-pre-gyp reveal hosted_tarball --silent --target_arch="$TARGET_ARCH")
|
40
40
|
S3_ENDPOINT_BINARY="s3://duckdb-npm/"${REMOTE_BINARY:23}
|
41
41
|
|
42
42
|
pip install awscli
|