Skip to content

Commit

Permalink
feat: release 2.1.0 (#158)
Browse files Browse the repository at this point in the history
* v2.1.0

* fix: remove submodule from CI

* chore: remove blst??? why did that happen
  • Loading branch information
matthewkeil authored Oct 22, 2024
1 parent b86329d commit 60c1450
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 25 deletions.
32 changes: 15 additions & 17 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI
env:
DEBUG: napi:*
APP_NAME: blst
MACOSX_DEPLOYMENT_TARGET: '10.13'
MACOSX_DEPLOYMENT_TARGET: "10.13"
permissions:
contents: write
id-token: write
Expand Down Expand Up @@ -55,13 +55,11 @@ jobs:
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
- name: Setup node
uses: actions/setup-node@v4
if: ${{ !matrix.settings.docker }}
with:
node-version: '22.4.x'
node-version: "22.4.x"
cache: yarn
- name: Install
uses: dtolnay/rust-toolchain@stable
Expand Down Expand Up @@ -97,15 +95,15 @@ jobs:
uses: actions/setup-node@v4
if: matrix.settings.target == 'i686-pc-windows-msvc'
with:
node-version: '22.4.x'
node-version: "22.4.x"
cache: yarn
architecture: x86
- name: Build in docker
uses: addnab/docker-run-action@v3
if: ${{ matrix.settings.docker }}
with:
image: ${{ matrix.settings.docker }}
options: '--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build'
options: "--user 0:0 -v ${{ github.workspace }}/.cargo-cache/git/db:/usr/local/cargo/git/db -v ${{ github.workspace }}/.cargo/registry/cache:/usr/local/cargo/registry/cache -v ${{ github.workspace }}/.cargo/registry/index:/usr/local/cargo/registry/index -v ${{ github.workspace }}:/build -w /build"
run: ${{ matrix.settings.build }}
- name: Build
run: ${{ matrix.settings.build }}
Expand All @@ -131,8 +129,8 @@ jobs:
- host: windows-latest
target: x86_64-pc-windows-msvc
node:
- '18'
- '22.4.x'
- "18"
- "22.4.x"
runs-on: ${{ matrix.settings.host }}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -167,8 +165,8 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- '22.4.x'
- "18"
- "22.4.x"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -208,7 +206,7 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- "18"
- 22.4
runs-on: ubuntu-latest
steps:
Expand All @@ -234,7 +232,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: node:${{ matrix.node }}-alpine
options: '--platform linux/amd64 -v ${{ github.workspace }}:/build -w /build'
options: "--platform linux/amd64 -v ${{ github.workspace }}:/build -w /build"
run: |
set -e
yarn test:unit
Expand All @@ -250,7 +248,7 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- "18"
- 22.4
runs-on: ubuntu-latest
steps:
Expand All @@ -277,7 +275,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: node:${{ matrix.node }}-slim
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
run: |
set -e
yarn test:unit
Expand All @@ -293,7 +291,7 @@ jobs:
fail-fast: false
matrix:
node:
- '18'
- "18"
- 22.4
runs-on: ubuntu-latest
steps:
Expand All @@ -320,7 +318,7 @@ jobs:
uses: addnab/docker-run-action@v3
with:
image: node:${{ matrix.node }}-alpine
options: '--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build'
options: "--platform linux/arm64 -v ${{ github.workspace }}:/build -w /build"
run: |
set -e
yarn test:unit
Expand All @@ -343,7 +341,7 @@ jobs:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: '22.4.x'
node-version: "22.4.x"
cache: yarn
- name: Create tag
id: tag
Expand Down
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": "@chainsafe/blst-darwin-arm64",
"version": "2.0.3",
"version": "2.1.0",
"os": [
"darwin"
],
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": "@chainsafe/blst-darwin-x64",
"version": "2.0.3",
"version": "2.1.0",
"os": [
"darwin"
],
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": "@chainsafe/blst-linux-arm64-gnu",
"version": "2.0.3",
"version": "2.1.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/linux-arm64-musl/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainsafe/blst-linux-arm64-musl",
"version": "2.0.3",
"version": "2.1.0",
"os": [
"linux"
],
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": "@chainsafe/blst-linux-x64-gnu",
"version": "2.0.3",
"version": "2.1.0",
"os": [
"linux"
],
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": "@chainsafe/blst-linux-x64-musl",
"version": "2.0.3",
"version": "2.1.0",
"os": [
"linux"
],
Expand Down
2 changes: 1 addition & 1 deletion npm/win32-x64-msvc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainsafe/blst-win32-x64-msvc",
"version": "2.0.3",
"version": "2.1.0",
"os": [
"win32"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@chainsafe/blst",
"version": "2.0.3",
"version": "2.1.0",
"description": "Typescript wrapper for supranational/blst native bindings, a highly performant BLS12-381 signature library",
"scripts": {
"artifacts": "napi artifacts",
Expand Down

0 comments on commit 60c1450

Please sign in to comment.