mirror of
https://github.com/status-im/safe-react.git
synced 2025-02-17 12:07:09 +00:00
* Added help center article link to step 2 * Removed deprecated wallets (#1922) * Bump new onboardjs version * Fix notification re-appears (#1925) * (Fix) - #1775 Nonce of cancel transaction calculation (#1886) * Fix how the nonce of the cancel transaction is calculated * make use useState to handle nonce state * fix to prevent "0" being treated as undefined * (Fix) - #1707 Cannot use larger numbers in contract interaction (#1863) * Remove withStyles from TextAreaField and fix name * Remove any type in handleSubmit from contractInteraction review * Parses the bignumber value to string * Added link to docs for custom app modal * Fix styles to match design * Fix nonce 0 check (#1941) * Use tooltip from SRC (#1888) * Upgrade safe-react-components to latest version * fix New Transaction button * Increase the date/time tooltip size * Feature: Add Mushrooms finance app (#1893) * add mushrooms finance app * Migrate to GitHub actions (#1924) * Add Github action for each network environment * Move deploy scripts to new folder * Adapt deploy scripts to Github actions * Run coveralls only if tests succeed * Upload sentry source map * Add Production flag for tagged builds * Use coveralls Github Action * Add debug steps to all networks for first release test * Avoid to remove the current loaded safe data if the batch request fail (#1847) * Fix gas estimation (#1944) * Fix gas estimation for threshold > 4 * Update gas estimation to be more precise * Add threshold gas costs on transaction creation estimation Co-authored-by: Daniel Sanchez <daniel.sanchez@gnosis.pm> * update ipfs hash for wc app (#1954) * Update endpoint to use new name (#1955) * (Fix) Transactions infinite scroll (#1931) * install `react-intersection-observer` dependency - also, remove `react-infinite-scroll-component` * refactor `InfiniteScroll` to be used with `react-intersection-observer` * build an infinite scroll wrapper for transactions based on `InfiniteScroll` * recover `TxsInfiniteScrollContext` information to identify the last item in a list - a new component was created for History transactions: `HistoryTransactions` as a wrapper * refactor lists to use `TxsInfiniteScrollContext` and identify the last item in the list * allow to pass config to the InfiniteScroll component - also changed default bottom margin so the txs loading starts a bit earlier * fix memory consumption issue based on nft retrieval/update data * delay `lastItemId` set to next tick, to prevent multiple updates during the same render phase * Set triggerOnce to infinitescroll * Fix gas estimation (#1959) * Fix type of fetchSafeCollectibles (#1971) * Fix transaction list infinite loading (#1973) * Check transaction list before trying to assing guard element to infinite scroll in pending list (#1972) * Fix execute if collected signs is > to threshold (#1968) * Feature: Add lido finance app (#1960) * Add pooltogether safe app (#1946) * fix isExecute in useEstimateTransactionGas (#1981) * Set V3.1.0 Co-authored-by: Mati Dastugue <mdastugu@amazon.com> Co-authored-by: Mati Dastugue <matias.dastugue@altoros.com> Co-authored-by: nicolas <nicosampler@users.noreply.github.com> Co-authored-by: Agustin Pane <agustin.pane@gmail.com> Co-authored-by: Fernando <fernando.greco@gmail.com> Co-authored-by: Agustín Longoni <agustin.longoni@altoros.com> Co-authored-by: Mikhail Mikheev <mmvsha73@gmail.com> Co-authored-by: nicosampler <nf.dominguez.87@gmail.com>
117 lines
4.2 KiB
YAML
117 lines
4.2 KiB
YAML
# if: (branch = development) OR (branch = master) OR (type = pull_request) OR (tag IS present)
|
|
if: (branch = master) OR (tag IS present)
|
|
dist: focal
|
|
language: node_js
|
|
node_js:
|
|
- '12'
|
|
os:
|
|
- linux
|
|
matrix:
|
|
# include:
|
|
# - env:
|
|
# - REACT_APP_NETWORK='mainnet'
|
|
# - STAGING_BUCKET_NAME=${STAGING_MAINNET_BUCKET_NAME}
|
|
# - REACT_APP_SENTRY_DSN=${SENTRY_DSN_MAINNET}
|
|
# - SENTRY_PROJECT=${SENTRY_PROJECT_MAINNET}
|
|
# - REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_MAINNET}
|
|
# - REACT_APP_GNOSIS_APPS_URL=${REACT_APP_GNOSIS_APPS_URL_PROD}
|
|
# if: (branch = master AND NOT type = pull_request) OR tag IS present
|
|
# - env:
|
|
# - REACT_APP_NETWORK='rinkeby'
|
|
# - REACT_APP_SENTRY_DSN=${SENTRY_DSN_RINKEBY}
|
|
# - SENTRY_PROJECT=${SENTRY_PROJECT_RINKEBY}
|
|
# - REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_RINKEBY}
|
|
# - REACT_APP_GNOSIS_APPS_URL=${REACT_APP_GNOSIS_APPS_URL_STAGING}
|
|
# if: (branch = development AND NOT type = pull_request) OR (branch = master) OR tag IS present
|
|
# - env:
|
|
# - REACT_APP_NETWORK='xdai'
|
|
# - STAGING_BUCKET_NAME=${STAGING_XDAI_BUCKET_NAME}
|
|
# - REACT_APP_SENTRY_DSN=${SENTRY_DSN_XDAI}
|
|
# - SENTRY_PROJECT=${SENTRY_PROJECT_XDAI}
|
|
# - REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_XDAI}
|
|
# if: (branch = master) OR tag IS present
|
|
# - env:
|
|
# - REACT_APP_NETWORK='volta'
|
|
# - STAGING_BUCKET_NAME=${STAGING_VOLTA_BUCKET_NAME}
|
|
# - REACT_APP_SENTRY_DSN=${SENTRY_DSN_VOLTA}
|
|
# - SENTRY_PROJECT=${SENTRY_PROJECT_VOLTA}
|
|
# - REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_VOLTA}
|
|
# if: (branch = master) OR tag IS present
|
|
# - env:
|
|
# - REACT_APP_NETWORK='energy_web_chain'
|
|
# - STAGING_BUCKET_NAME=${STAGING_EWC_BUCKET_NAME}
|
|
# - REACT_APP_SENTRY_DSN=${SENTRY_DSN_EWC}
|
|
# - SENTRY_PROJECT=${SENTRY_PROJECT_EWC}
|
|
# - REACT_APP_GOOGLE_ANALYTICS=${REACT_APP_GOOGLE_ANALYTICS_ID_EWC}
|
|
# if: (branch = master AND NOT type = pull_request) OR tag IS present
|
|
cache:
|
|
npm: false
|
|
yarn: true
|
|
before_script:
|
|
- if [[ -n "$TRAVIS_TAG" ]]; then export REACT_APP_ENV='production'; fi;
|
|
- if [ $TRAVIS_PULL_REQUEST != "false" ]; then export PUBLIC_URL="/${REACT_APP_NETWORK}/app"; fi;
|
|
before_install:
|
|
# Needed to deploy pull request and releases
|
|
# - sudo apt-get update
|
|
# - sudo apt-get -y install python3-pip python3-dev libusb-1.0-0-dev libudev-dev
|
|
# - pip install awscli --upgrade --user
|
|
script:
|
|
- yarn prettier:check
|
|
# - yarn test:coverage
|
|
# - yarn build
|
|
# - if [[ $TRAVIS_BRANCH == "master" && $TRAVIS_PULL_REQUEST == "false" ]] || [ -n "$TRAVIS_TAG" ]; then
|
|
# echo "Upload sentry source maps";
|
|
# yarn sentry-upload-sourcemaps;
|
|
# else
|
|
# echo "Skip source map upload";
|
|
# fi;
|
|
after_success:
|
|
# Pull Request - Deploy it to a review environment
|
|
# Travis doesn't do deploy step with pull requests builds
|
|
# - ./config/travis/deploy_pull_request.sh
|
|
# Releases (tagged commits) - Deploy it to a release environment
|
|
# - ./config/travis/deploy_release.sh
|
|
# - yarn coveralls
|
|
|
|
deploy:
|
|
# Development environment only on rinkeby
|
|
# - provider: s3
|
|
# bucket: $DEV_BUCKET_NAME
|
|
# access_key_id: $AWS_ACCESS_KEY_ID
|
|
# secret_access_key: $AWS_SECRET_ACCESS_KEY
|
|
# skip_cleanup: true
|
|
# local_dir: build
|
|
# upload_dir: app
|
|
# region: $AWS_DEFAULT_REGION
|
|
# on:
|
|
# branch: development
|
|
# condition: $REACT_APP_NETWORK = rinkeby
|
|
|
|
# Staging environment
|
|
# - provider: s3
|
|
# bucket: $STAGING_BUCKET_NAME
|
|
# access_key_id: $AWS_ACCESS_KEY_ID
|
|
# secret_access_key: $AWS_SECRET_ACCESS_KEY
|
|
# skip_cleanup: true
|
|
# local_dir: build
|
|
# upload_dir: current/app
|
|
# region: $AWS_DEFAULT_REGION
|
|
# on:
|
|
# branch: master
|
|
|
|
# Prepare production deployment
|
|
# - provider: s3
|
|
# bucket: $STAGING_BUCKET_NAME
|
|
# secret_access_key: $AWS_SECRET_ACCESS_KEY
|
|
# access_key_id: $AWS_ACCESS_KEY_ID
|
|
# skip_cleanup: true
|
|
# local_dir: build
|
|
# upload_dir: releases/$TRAVIS_TAG
|
|
# region: $AWS_DEFAULT_REGION
|
|
# on:
|
|
# tags: true
|
|
# - provider: script
|
|
# script: ./config/travis/prepare_production_deployment.sh
|
|
# on:
|
|
# tags: true
|