-
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.
Merge pull request #1 from clrfund/chore/upgrade-ethers-6.12.1
Use ethers 6.12.1
- Loading branch information
Showing
3 changed files
with
55 additions
and
10 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,45 @@ | ||
name: Create Version | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
type: choice | ||
description: major, minor, or patch version | ||
options: | ||
- patch | ||
- minor | ||
- major | ||
|
||
env: | ||
NODE_VERSION: 20.x | ||
|
||
jobs: | ||
createVersion: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
- name: Install dependencies | ||
run: | | ||
yarn && yarn build | ||
- name: setup git config | ||
run: | | ||
# setup the username and email. I tend to use 'GitHub Actions Bot' with no email by default | ||
git config user.name "GitHub Actions Bot" | ||
git config user.email "<>" | ||
- name: Create new version | ||
run: | | ||
echo "Version: ${{ github.event.inputs.version }}" | ||
npm version ${{ github.event.inputs.version }} | ||
export VERSION_NUMBER=$(node -e "const pkg=require('./package.json'); console.log(pkg.version)") | ||
export VERSION="v${VERSION_NUMBER}" | ||
git add package.json | ||
git commit -m "${VERSION}" | ||
git push origin | ||
git tag -a "${VERSION}" -m "${VERSION}" | ||
git push origin --tags |
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 |
---|---|---|
|
@@ -2,10 +2,10 @@ | |
# yarn lockfile v1 | ||
|
||
|
||
"@adraffy/[email protected].0": | ||
version "1.10.0" | ||
resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz#d2a39395c587e092d77cbbc80acf956a54f38bf7" | ||
integrity sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q== | ||
"@adraffy/[email protected].1": | ||
version "1.10.1" | ||
resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.1.tgz#63430d04bd8c5e74f8d7d049338f1cd9d4f02069" | ||
integrity sha512-96Z2IP3mYmF1Xg2cDm8f1gWGf/HUVedQ3FMifV4kG/PQ4yEP51xDtRAEfhVNt5f/uzpNkZHwWQuUcu6D6K+Ekw== | ||
|
||
"@chainsafe/as-sha256@^0.3.1": | ||
version "0.3.1" | ||
|
@@ -1503,12 +1503,12 @@ ethers@^5.7.1: | |
"@ethersproject/web" "5.7.1" | ||
"@ethersproject/wordlists" "5.7.0" | ||
|
||
ethers@^6.9.2: | ||
version "6.10.0" | ||
resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.10.0.tgz#20f3c63c60d59a993f8090ad423d8a3854b3b1cd" | ||
integrity sha512-nMNwYHzs6V1FR3Y4cdfxSQmNgZsRj1RiTU25JwvnJLmyzw9z3SKxNc2XKDuiXXo/v9ds5Mp9m6HBabgYQQ26tA== | ||
ethers@^6.12.1: | ||
version "6.12.1" | ||
resolved "https://registry.yarnpkg.com/ethers/-/ethers-6.12.1.tgz#517ff6d66d4fd5433e38e903051da3e57c87ff37" | ||
integrity sha512-j6wcVoZf06nqEcBbDWkKg8Fp895SS96dSnTCjiXT+8vt2o02raTn4Lo9ERUuIVU5bAjoPYeA+7ytQFexFmLuVw== | ||
dependencies: | ||
"@adraffy/ens-normalize" "1.10.0" | ||
"@adraffy/ens-normalize" "1.10.1" | ||
"@noble/curves" "1.2.0" | ||
"@noble/hashes" "1.3.2" | ||
"@types/node" "18.15.13" | ||
|