diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 097b9d2d..3c7ad69d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ name: Publish Package to npmjs on: push: tags: - - "v*" + - 'v*' jobs: build: @@ -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: | diff --git a/.github/workflows/test-badge.yml b/.github/workflows/test-badge.yml index 412c07e3..48ad084d 100644 --- a/.github/workflows/test-badge.yml +++ b/.github/workflows/test-badge.yml @@ -8,7 +8,6 @@ on: branches: - dev - master - - feature/test-chain-util env: BRANCH_NAME: 'feature/badge-json' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a1c75e29..20f8e5ce 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 diff --git a/README.md b/README.md index 1aa300d5..bfc353dd 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ # aelf-sdk.js - AELF JavaScript API
- - - + @@ -11,9 +9,9 @@
-| 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) |