Skip to content

Commit 79412db

Browse files
authored
Updating GHA yaml (#345)
Adding new `--use-napi-cross` flag Dropping Node 18 testing Using python version: 3.13 for docs Release v0.20.1 --------- Co-authored-by: Bidek56 <[email protected]>
1 parent 2e05780 commit 79412db

File tree

13 files changed

+22
-22
lines changed

13 files changed

+22
-22
lines changed

.github/workflows/create-js-release.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: nodejs-polars
22
env:
33
DEBUG: napi:*
44
APP_NAME: nodejs-polars
5-
MACOSX_DEPLOYMENT_TARGET: "12.0"
5+
MACOSX_DEPLOYMENT_TARGET: "15.0"
66
"on":
77
push:
88
# Sequence of patterns matched against refs/tags
@@ -32,7 +32,7 @@ jobs:
3232
build: |-
3333
set -e &&
3434
rustup target add x86_64-unknown-linux-gnu &&
35-
yarn build -x --target x86_64-unknown-linux-gnu && llvm-strip -x polars/*.node
35+
yarn build --use-napi-cross --target x86_64-unknown-linux-gnu && llvm-strip -x polars/*.node
3636
3737
- host: ubuntu-latest
3838
architecture: x64
@@ -59,7 +59,7 @@ jobs:
5959
cp -r /usr/aarch64-unknown-linux-gnu/lib/gcc /usr/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/sysroot/lib/
6060
export LDFLAGS="--sysroot=/usr/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/sysroot -L/usr/aarch64-unknown-linux-gnu/lib/gcc/aarch64-unknown-linux-gnu/4.8.5"
6161
export CFLAGS="-fuse-ld=lld --sysroot=/usr/aarch64-unknown-linux-gnu/aarch64-unknown-linux-gnu/sysroot -L/usr/aarch64-unknown-linux-gnu/lib/gcc/aarch64-unknown-linux-gnu/4.8.5"
62-
yarn build --target aarch64-unknown-linux-gnu
62+
yarn build --use-napi-cross --target aarch64-unknown-linux-gnu
6363
llvm-strip polars/*.node
6464
# Disabled until a simd-json fallback can be implemented. see https://github.com/simd-lite/simd-json/issues/263 and https://github.com/simd-lite/simd-json/issues/218
6565
# - host: ubuntu-latest
@@ -95,15 +95,15 @@ jobs:
9595
yarn build --target=aarch64-unknown-linux-musl
9696
/aarch64-linux-musl-cross/bin/aarch64-linux-musl-strip polars/*.node
9797
98-
name: ${{ matrix.settings.target }} - node@20
98+
name: ${{ matrix.settings.target }} - node@24
9999
runs-on: ${{ matrix.settings.host }}
100100
steps:
101101
- uses: actions/checkout@v4
102102
- name: Setup node
103103
uses: actions/setup-node@v4
104104
if: ${{ !matrix.settings.docker }}
105105
with:
106-
node-version: 20
106+
node-version: 24
107107
check-latest: true
108108
cache: yarn
109109
- name: Copy rust-toolchain to root
@@ -115,7 +115,7 @@ jobs:
115115
override: true
116116
target: ${{ matrix.settings.target }}
117117
- name: Cache cargo
118-
uses: actions/cache@v3
118+
uses: actions/cache@v4
119119
with:
120120
path: |
121121
~/.cargo/registry/index/
@@ -125,10 +125,10 @@ jobs:
125125
target/
126126
key: ${{ matrix.settings.target }}-cargo-${{ matrix.settings.host }}
127127
- name: Cache NPM dependencies
128-
uses: actions/cache@v3
128+
uses: actions/cache@v4
129129
with:
130130
path: .yarn/cache
131-
key: npm-cache-build-${{ matrix.settings.target }}-node@20
131+
key: npm-cache-build-${{ matrix.settings.target }}-node@24
132132
- name: Setup toolchain
133133
run: ${{ matrix.settings.setup }}
134134
if: ${{ matrix.settings.setup }}
@@ -176,7 +176,7 @@ jobs:
176176
- uses: actions/checkout@v4
177177
- uses: actions/setup-node@v4
178178
with:
179-
node-version: "20"
179+
node-version: 24
180180
registry-url: "https://registry.npmjs.org"
181181
cache: yarn
182182
cache-dependency-path: yarn.lock

.github/workflows/docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@ jobs:
1919
- name: Install ghp-import
2020
uses: actions/setup-python@v5
2121
with:
22-
python-version: 3.12
22+
python-version: 3.13
2323
- name: Install dependencies
2424
run: |
2525
python -m pip install --upgrade pip
2626
pip install ghp-import
2727
- name: Set up Node
2828
uses: actions/setup-node@v4
2929
with:
30-
node-version: 22
30+
node-version: 24
3131
- name: Build node reference
3232
run: |
3333
npm install

.github/workflows/test-js.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
10-
node: ["18", "20", "22"]
10+
node: ["20", "22", "24"]
1111
steps:
1212
- uses: actions/checkout@v4
1313
- name: Enable Corepack

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "nodejs-polars"
3-
version = "0.20.0"
3+
version = "0.20.1"
44
authors = ["Cory Grinstead"]
55
documentation = "https://pola-rs.github.io/polars-book/"
66
edition = "2021"

npm/android-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodejs-polars-android-arm64",
3-
"version": "0.20.0",
3+
"version": "0.20.1",
44
"os": [
55
"android"
66
],

npm/darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodejs-polars-darwin-arm64",
3-
"version": "0.20.0",
3+
"version": "0.20.1",
44
"os": [
55
"darwin"
66
],

npm/darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodejs-polars-darwin-x64",
3-
"version": "0.20.0",
3+
"version": "0.20.1",
44
"os": [
55
"darwin"
66
],

npm/linux-arm64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodejs-polars-linux-arm64-gnu",
3-
"version": "0.20.0",
3+
"version": "0.20.1",
44
"os": [
55
"linux"
66
],

npm/linux-arm64-musl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodejs-polars-linux-arm64-musl",
3-
"version": "0.20.0",
3+
"version": "0.20.1",
44
"os": [
55
"linux"
66
],

npm/linux-x64-gnu/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nodejs-polars-linux-x64-gnu",
3-
"version": "0.20.0",
3+
"version": "0.20.1",
44
"os": [
55
"linux"
66
],

0 commit comments

Comments
 (0)