Skip to content

Commit

Permalink
Merge pull request #191 from AElfProject/feature/readme
Browse files Browse the repository at this point in the history
Feature/readme
  • Loading branch information
hzz780 authored Aug 26, 2024
2 parents 7f6b201 + a700926 commit 5bb7461
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Publish Package to npmjs
on:
push:
tags:
- "v*"
- 'v*'

jobs:
build:
Expand All @@ -15,7 +15,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18

- name: Install, Test and Build
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/test-badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ on:
branches:
- dev
- master
- feature/test-chain-util

env:
BRANCH_NAME: 'feature/badge-json'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
node-version: 18
cache: yarn
- run: yarn install
- run: yarn run test:coverage
Expand Down
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
# aelf-sdk.js - AELF JavaScript API

<p>
<a href="https://nodejs.org/download/">
<img alt="Node version" src="https://img.shields.io/node/v/aelf-sdk.svg">
</a>
<a href="https://nodejs.org/download/"><img alt="Node version" src="https://img.shields.io/node/v/aelf-sdk.svg"></a>
<img alt="NPM" src="https://img.shields.io/npm/l/aelf-sdk">
<a href="http://commitizen.github.io/cz-cli/"><img alt="Commitizen friendly" src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg"></a>
<a href="https://github.com/AElfProject/aelf-web3.js/actions/workflows/publish.yml">
<img alt="coverage" src="https://github.com/AElfProject/aelf-web3.js/actions/workflows/publish.yml/badge.svg">
</a>
</p>

| Branch | Tests | Coverage |
| ------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| `feature/test-chain-util` | ![Tests](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AElfProject/aelf-web3.js/feature/badge-json/feature-test-chain-util-test-results.json) | ![Coverage](https://AElfProject.github.io/aelf-web3.js/badges.svg) |
| Branch | Tests | Coverage |
| -------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ |
| `master` | ![Tests](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/AElfProject/aelf-web3.js/feature/badge-json/feature-test-chain-util-test-results.json) | ![Coverage](https://AElfProject.github.io/aelf-web3.js/badges.svg) |

<!-- | Statements | Branches | Functions | Lines |
| --------------------------- | ----------------------- | ------------------------- | ----------------- |
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aelf-sdk",
"version": "3.4.15-beta.0",
"version": "3.4.15-beta.1",
"description": "aelf-sdk js library",
"main": "dist/aelf.cjs.js",
"browser": "dist/aelf.umd.js",
Expand Down Expand Up @@ -44,7 +44,7 @@
"node": "16.x || 18.x || 20.x"
},
"engines": {
"node": "^16.10.0 || >=18.0.0"
"node": ">=18.18.0"
},
"types": "types",
"engineStrict": true,
Expand Down

0 comments on commit 5bb7461

Please sign in to comment.