update refs

This commit is contained in:
poma 2020-12-16 00:14:10 +03:00
parent c57b5a3b1a
commit e8d8115bfc
No known key found for this signature in database
GPG Key ID: BA20CB01FE165657
4 changed files with 28 additions and 92 deletions

View File

@ -12,73 +12,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
# - uses: actions/setup-node@v1
# with:
# node-version: 12
# - run: yarn install
# - run: yarn test
# - run: yarn lint
# - name: Telegram Failure Notification
# uses: appleboy/telegram-action@0.0.7
# if: failure()
# with:
# message: ❗ Build failed for [${{ github.repository }}](https://github.com/${{ github.repository }}/actions) because of ${{ github.actor }}
# format: markdown
# to: ${{ secrets.TELEGRAM_CHAT_ID }}
# token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
#
# publish:
# runs-on: ubuntu-latest
# needs: build
# if: startsWith(github.ref, 'refs/tags')
# steps:
# - name: Checkout
# uses: actions/checkout@v2
#
# - name: Install dependencies
# run: yarn install
#
# - name: NPM login
# # NPM doesn't understand env vars and needs auth file lol
# run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
# env:
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
#
# - name: Set vars
# id: vars
# run: |
# echo "::set-output name=version::$(echo ${GITHUB_REF#refs/tags/v})"
# echo "::set-output name=repo_name::$(echo ${GITHUB_REPOSITORY#*/})"
#
# - name: Check package.json version vs tag
# run: |
# [ ${{ steps.vars.outputs.version }} = $(grep '"version":' package.json | grep -o "[0-9.]*") ] || (echo "Git tag doesn't match version in package.json" && false)
#
# - name: Publish to npm
# run: npm publish
#
# - name: Create GitHub Release Draft
# uses: actions/create-release@v1
# with:
# tag_name: ${{ github.ref }}
# release_name: Release ${{ steps.vars.outputs.version }}
# draft: true
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#
# - name: Telegram Notification
# uses: appleboy/telegram-action@0.0.7
# with:
# message: 🚀 Published a [${{ steps.vars.outputs.repo_name }}](https://github.com/${{ github.repository }}) version [${{ steps.vars.outputs.version }}](https://hub.docker.com/repository/docker/${{ github.repository }}) to docker hub
# format: markdown
# to: ${{ secrets.TELEGRAM_CHAT_ID }}
# token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
#
# - name: Telegram Failure Notification
# uses: appleboy/telegram-action@0.0.7
# if: failure()
# with:
# message: ❗ Failed to publish [${{ steps.vars.outputs.repo_name }}](https://github.com/${{ github.repository }}/actions) because of ${{ env.GITHUB_ACTOR }}
# format: markdown
# to: ${{ secrets.TELEGRAM_CHAT_ID }}
# token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: 12
- run: yarn install
- run: yarn lint
- name: Telegram Failure Notification
uses: appleboy/telegram-action@0.0.7
if: failure()
with:
message: ❗ Build failed for [${{ github.repository }}](https://github.com/${{ github.repository }}/actions) because of ${{ github.actor }}
format: markdown
to: ${{ secrets.TELEGRAM_CHAT_ID }}
token: ${{ secrets.TELEGRAM_BOT_TOKEN }}

View File

@ -1,4 +1,4 @@
# Tornado smart contract data aggregator [![Build Status](https://github.com/peppersec/solidity-template/workflows/build/badge.svg)](https://github.com/peppersec/solidity-template/actions)
# Tornado smart contract data aggregator [![Build Status](https://github.com/tornadocash/tornado-aggregator/workflows/build/badge.svg)](https://github.com/tornadocash/tornado-aggregator/actions)
## Dependencies

View File

@ -1,5 +1,5 @@
{
"name": "solidity-template",
"name": "tornado-aggregator",
"version": "1.0.0",
"description": "A template with all preferred configs",
"main": "index.js",
@ -46,8 +46,8 @@
"web3": "^1.2.11"
},
"dependencies": {
"tornado-anonymity-mining": "git+https://github.com/tornadocash/tornado-anonymity-mining.git#5329de97aa9615ae3bd0e0d2d8ded06d6692cb7c",
"tornado-governance": "git+https://github.com/tornadocash/governance.git#aa010a0e0cbe8578e7037a21ee580c10de967449",
"torn-token": "git+https://github.com/tornadocash/torn-token.git#dc0e3416001401bc59ed32d8e9f02b04be0a8631"
"tornado-anonymity-mining": "^1.0.0",
"tornado-governance": "v1.0.0",
"torn-token": "^1.0.0"
}
}

View File

@ -4577,9 +4577,10 @@ toidentifier@1.0.0:
resolved "https://registry.yarnpkg.com/toidentifier/-/toidentifier-1.0.0.tgz#7e1be3470f1e77948bc43d94a3c8f4d7752ba553"
integrity sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==
"torn-token@git+https://github.com/tornadocash/torn-token.git#d7b86c01538cd26afae73885f66269a98c02aa3f":
torn-token@^1.0.0:
version "1.0.0"
resolved "git+https://github.com/tornadocash/torn-token.git#d7b86c01538cd26afae73885f66269a98c02aa3f"
resolved "https://registry.yarnpkg.com/torn-token/-/torn-token-1.0.0.tgz#73e47025646c3e07ab733afbf7aa53b6ab9cad55"
integrity sha512-BRzt3fy4211jCb64cWyOb5/NMGt9M9EV2ZFnGQYMubKrVkszoYm97Nex+EBa0mvV2KfXzCmJ6tehoDgOFAPGug==
dependencies:
"@openzeppelin/contracts" "^3.1.0"
dotenv "^8.2.0"
@ -4587,19 +4588,10 @@ toidentifier@1.0.0:
ethereumjs-util "^7.0.3"
web3 "^1.2.11"
"torn-token@git+https://github.com/tornadocash/torn-token.git#dc0e3416001401bc59ed32d8e9f02b04be0a8631":
tornado-anonymity-mining@^1.0.0:
version "1.0.0"
resolved "git+https://github.com/tornadocash/torn-token.git#dc0e3416001401bc59ed32d8e9f02b04be0a8631"
dependencies:
"@openzeppelin/contracts" "^3.1.0"
dotenv "^8.2.0"
eth-sig-util "^2.5.3"
ethereumjs-util "^7.0.3"
web3 "^1.2.11"
"tornado-anonymity-mining@git+https://github.com/tornadocash/tornado-anonymity-mining.git#5329de97aa9615ae3bd0e0d2d8ded06d6692cb7c":
version "1.0.0"
resolved "git+https://github.com/tornadocash/tornado-anonymity-mining.git#5329de97aa9615ae3bd0e0d2d8ded06d6692cb7c"
resolved "https://registry.yarnpkg.com/tornado-anonymity-mining/-/tornado-anonymity-mining-1.0.0.tgz#179485e97ec83665ffce72f0813168bc513e26e3"
integrity sha512-pPAXeCtkcxxWrn/25wwVwNvvef8oRfeqRY7U63ChPpTphehuZgOtyd5hscXei2G5ASs9u7vGv9sD0FL4LCaLoQ==
dependencies:
circomlib "git+https://github.com/tornadocash/circomlib.git#3b492f9801573eebcfe1b6c584afe8a3beecf2b4"
decimal.js "^10.2.0"
@ -4609,13 +4601,14 @@ toidentifier@1.0.0:
web3 "^1.2.11"
websnark "git+https://github.com/tornadocash/websnark.git#86a526718cd6f6f5d31bdb1fe26a9ec8819f633e"
"tornado-governance@git+https://github.com/tornadocash/governance.git#aa010a0e0cbe8578e7037a21ee580c10de967449":
tornado-governance@v1.0.0:
version "1.0.0"
resolved "git+https://github.com/tornadocash/governance.git#aa010a0e0cbe8578e7037a21ee580c10de967449"
resolved "https://registry.yarnpkg.com/tornado-governance/-/tornado-governance-1.0.0.tgz#eb3632a9a8a2b480f69e26a6e6b91a606fbbc334"
integrity sha512-4WPkdOgZGoR8aWYAiaC4c/NgtiEU8XwN6xpyQMo0GcoVjmJRNlZBbGY7WAqMX0Yvohc1p4JPZOyZaEEBFaVodA==
dependencies:
"@openzeppelin/contracts" "^3.2.0-rc.0"
"@openzeppelin/upgrades-core" "^1.0.1"
torn-token "git+https://github.com/tornadocash/torn-token.git#d7b86c01538cd26afae73885f66269a98c02aa3f"
torn-token "^1.0.0"
tough-cookie@~2.5.0:
version "2.5.0"