forked from omni/omnibridge-ui
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge recent changes from RaidGuild repo
- Loading branch information
Showing
102 changed files
with
6,619 additions
and
3,203 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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
{ | ||
"projects": { | ||
"default": "xdai-omnibridge" | ||
"production": "xdai-omnibridge", | ||
"sokol": "sokol-omnibridge", | ||
"staging": "omnibridge-staging", | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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,54 @@ | ||
name: Build and Deploy to production | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
deploy: | ||
name: Build & Deploy to production | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: '**/node_modules' | ||
key: nodeModules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | ||
|
||
- name: Install Dependencies | ||
run: yarn --frozen-lockfile | ||
env: | ||
CI: true | ||
|
||
- name: Build | ||
run: yarn react-app:build | ||
env: | ||
CI: true | ||
REACT_APP_INFURA_ID: ${{ secrets.INFURA_ID }} | ||
REACT_APP_HOME_NETWORK: xdai | ||
REACT_APP_HOME_RPC_URL: https://rpc.xdaichain.com/ | ||
REACT_APP_ENABLE_REVERSED_BRIDGE: false | ||
REACT_APP_DEBUG_LOGS: false | ||
REACT_APP_TITLE: OmniBridge - %c | ||
REACT_APP_DESCRIPTION: 'The OmniBridge multi-token extension for the Arbitrary Message Bridge between Ethereum and the xDai chain is the simplest way to transfer ANY ERC20/ERC677/ERC827 token to the xDai chain.' | ||
REACT_APP_GAS_PRICE_SUPPLIER_URL: https://gasprice.poa.network/ | ||
REACT_APP_GAS_PRICE_SPEED_TYPE: fast | ||
REACT_APP_GAS_PRICE_UPDATE_INTERVAL: 15000 | ||
REACT_APP_ETH_PRICE_API_URL: 'https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=USD' | ||
REACT_APP_ETH_PRICE_UPDATE_INTERVAL: 15000 | ||
|
||
- name: Deploy to Firebase | ||
uses: w9jds/firebase-action@master | ||
with: | ||
args: deploy --only hosting --project production | ||
env: | ||
CI: true | ||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} |
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,51 @@ | ||
name: Build and Deploy Sokol | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
|
||
jobs: | ||
deploy: | ||
name: Build & Deploy Sokol | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: '**/node_modules' | ||
key: nodeModules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | ||
|
||
- name: Install Dependencies | ||
run: yarn --frozen-lockfile | ||
env: | ||
CI: true | ||
|
||
- name: Build | ||
run: yarn react-app:build | ||
env: | ||
CI: true | ||
REACT_APP_INFURA_ID: ${{ secrets.PERSONAL_INFURA_ID }} | ||
REACT_APP_HOME_NETWORK: sokol | ||
REACT_APP_ENABLE_REVERSED_BRIDGE: true | ||
REACT_APP_DEBUG_LOGS: true | ||
REACT_APP_TITLE: OmniBridge - %c | ||
REACT_APP_DESCRIPTION: 'The Sokol OmniBridge multi-token extension for the Arbitrary Message Bridge between Kovan Testnet and the POA Sokol Testnet is the simplest way to transfer ANY ERC20/ERC677/ERC827 token to and from the POA Sokol Testnet.' | ||
REACT_APP_GAS_PRICE_FALLBACK_GWEI: 5 | ||
REACT_APP_ETH_PRICE_API_URL: 'https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=USD' | ||
REACT_APP_ETH_PRICE_UPDATE_INTERVAL: 15000 | ||
|
||
- name: Deploy to Firebase | ||
uses: w9jds/firebase-action@master | ||
with: | ||
args: deploy --only hosting --project sokol | ||
env: | ||
CI: true | ||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} |
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,53 @@ | ||
name: Build and Deploy xDai Staging | ||
on: | ||
push: | ||
branches: | ||
- staging | ||
|
||
jobs: | ||
deploy: | ||
name: Build & Deploy xDai Staging | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: 12.x | ||
|
||
- uses: actions/cache@v2 | ||
with: | ||
path: '**/node_modules' | ||
key: nodeModules-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }} | ||
|
||
- name: Install Dependencies | ||
run: yarn --frozen-lockfile | ||
env: | ||
CI: true | ||
|
||
- name: Build | ||
run: yarn react-app:build | ||
env: | ||
CI: true | ||
REACT_APP_INFURA_ID: ${{ secrets.PERSONAL_INFURA_ID }} | ||
REACT_APP_HOME_NETWORK: xdai | ||
REACT_APP_ENABLE_REVERSED_BRIDGE: false | ||
REACT_APP_DEBUG_LOGS: true | ||
REACT_APP_TITLE: OmniBridge - %c | ||
REACT_APP_DESCRIPTION: 'The OmniBridge multi-token extension for the Arbitrary Message Bridge between Ethereum and the xDai chain is the simplest way to transfer ANY ERC20/ERC677/ERC827 token to the xDai chain.' | ||
REACT_APP_GAS_PRICE_SUPPLIER_URL: https://gasprice.poa.network/ | ||
REACT_APP_GAS_PRICE_SPEED_TYPE: standard | ||
REACT_APP_GAS_PRICE_UPDATE_INTERVAL: 15000 | ||
REACT_APP_ETH_PRICE_API_URL: 'https://api.coingecko.com/api/v3/simple/price?ids=ethereum&vs_currencies=USD' | ||
REACT_APP_ETH_PRICE_UPDATE_INTERVAL: 15000 | ||
|
||
- name: Deploy to Firebase | ||
uses: w9jds/firebase-action@master | ||
with: | ||
args: deploy --only hosting --project staging | ||
env: | ||
CI: true | ||
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} |
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
Oops, something went wrong.