forked from ubiquity/rpc-handler
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
10,701 additions
and
7,459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: Bump Version | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
bump: | ||
description: 'bump type: major, minor or patch' | ||
default: '' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository code | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# needed to use yarn v4 | ||
- name: Enable corepack | ||
run: corepack enable | ||
|
||
- name: Install Node | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "20.10.0" | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- name: Bump version | ||
run: | | ||
git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
git config --global user.name "github-actions[bot]" | ||
yarn version ${{ github.event.inputs.bump }} | ||
git add --all | ||
- name: Commit & Push changes | ||
uses: devops-infra/action-commit-push@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
commit_message: "chore: bump version" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
nodeLinker: node-modules | ||
supportedArchitectures: | ||
os: | ||
- 'current' | ||
- 'darwin' | ||
- 'linux' | ||
- 'win32' | ||
cpu: | ||
- 'current' | ||
- 'x64' | ||
- 'x86' | ||
- 'arm' | ||
- 'ia32' | ||
libc: | ||
- 'current' | ||
- 'glibc' | ||
- 'musl' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"name": "@ubiquitydao/rpc-handler", | ||
"name": "@ubiquity-dao/rpc-handler", | ||
"version": "1.0.0", | ||
"description": "Uses Chainlist's RPC collection racing them returning the lowest latency RPC", | ||
"main": "dist/cjs/rpc-handler.js", | ||
|
@@ -36,7 +36,8 @@ | |
"open-source" | ||
], | ||
"dependencies": { | ||
"@ethersproject/providers": "5.7.2" | ||
"@ethersproject/providers": "5.7.2", | ||
"node-fetch": "^3.3.2" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.24.0", | ||
|
@@ -49,6 +50,7 @@ | |
"@cspell/dict-typescript": "^3.1.2", | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^20.11.19", | ||
"@types/node-fetch": "^2.6.11", | ||
"@typescript-eslint/eslint-plugin": "^7.0.1", | ||
"@typescript-eslint/parser": "^7.0.1", | ||
"cspell": "^8.4.0", | ||
|
@@ -82,5 +84,6 @@ | |
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
} | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Oops, something went wrong.