Skip to content

Commit

Permalink
fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
igorls committed Nov 14, 2024
1 parent ca11c74 commit cf2923c
Show file tree
Hide file tree
Showing 6 changed files with 298 additions and 57 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Node.js Addon with CMake

on:
push:
branches: [ "master", "3.3-staging" ]
branches: [ "master" ]
pull_request:
branches: [ "master" ]

Expand All @@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
node-version: [20.x, 22.x]

steps:
# Checkout repo and submodules
Expand All @@ -30,5 +30,5 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run build:linux:ci
- run: npm run build:tsc
- run: npm run build
- run: npm run test
1 change: 1 addition & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[submodule "abieos"]
path = abieos
url = https://github.com/AntelopeIO/abieos.git
branch = main
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
![Node-API v9 Badge](https://github.com/nodejs/abi-stable-node/blob/doc/assets/Node-API%20v9%20Badge.svg)
[![NPM version](https://img.shields.io/npm/v/@eosrio/node-abieos.svg?style=flat)](https://www.npmjs.com/package/@eosrio/node-abieos)

Node.js native binding for [abieos](https://github.com/EOSIO/abieos), with some improvements:
Node.js native binding for [abieos](https://github.com/AntelopeIO/abieos), with some improvements:

- Contracts can be directly updated on the map
- Added `abieos_delete_contract`
Expand Down Expand Up @@ -32,7 +32,8 @@ const nodeAbieos = require('@eosrio/node-abieos');

ES Modules
```typescript
import * as nodeAbieos from "@eosrio/node-abieos";
import {Abieos} from "@eosrio/node-abieos";
const abieos = Abieos.getInstance();
```

Check the [/examples](https://github.com/eosrio/node-abieos/tree/master/examples) folder for implementation examples
Expand All @@ -50,7 +51,7 @@ sudo ./llvm.sh 18

Clone and Build
```shell script
git clone https://github.com/eosrio/node-abieos.git
git clone https://github.com/eosrio/node-abieos.git --recursive
cd node-abieos
npm install
npm run build:linux
Expand Down
Loading

0 comments on commit cf2923c

Please sign in to comment.