Skip to content

Commit

Permalink
chore: merge main (#1194)
Browse files Browse the repository at this point in the history
* chore: automated cache update [skip cypress]

* feat: add maticx icons (#1106)

* e2e - refactor  (#1131)

* init commands

* test version with commands without timeouts

* move all methods to CY commands

* fix matic e-mode

* add documentation

* add cy.wait for max amount

Co-authored-by: Nikita Boakrev <nikitaboakrev@Nikitas-MacBook-Pro.local>

* chore: automated cache update [skip cypress]

* chore: add prettier commands (#1142)

* chore: add prettierignore

* chore: add prettier commands

* chore: add combined linting commands

* chore: run yarn lint:fix

* chore: update lint-staged

* chore: update contributors

* chore: typo

* chore: typos

* chore: add license field

* chore: automated cache update [skip cypress]

* fix: lint-staged (#1145)

* chore: automated cache update [skip cypress]

* feat: refactor frozen warnings (#1141)

* feat: improve frozen warning mappings

* fix: clean up logic and make warnings responsive to frozen status

* fix: trans tag wrapping

* fix: simplify MarketWarning component

* chore: run i18n

* remove fantom market from CI while it frozen

Co-authored-by: Nikita Boakrev <nikitaboakrev@Nikitas-MacBook-Pro.local>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* feat: removed warnings related to eth borrow being disabled (#1113)

* feat: removed warnings related to eth borrow being disabled

* chore: prettier

* chore: fix missing param

* turn on eth tests

Co-authored-by: Mark Hinschberger <foodaka@users.noreply.github.com>
Co-authored-by: Nikita Boakrev <nikitaboakrev@Nikitas-MacBook-Pro.local>

* feat: add custom error page templates (#1094)

* chore: stub out the minimal error pages

* feat: add custom 404 page

* chore: i18n

* chore: add 500 page

* chore: cleanup

* chore: remove img from 500

* chore: use native img tag

* chore: add light/dark mode graphics

* chore: more UI updates

* chore: 500 page ideas

* chore: 500 error updates

* chore: test error boundary component in prod

* chore: ignore for build (temp)

* chore: remove error boundary component

* chore: style updates

* chore: remove throw

* chore: merge branch 'main' into feat/error-pages

* chore: use lint-staged pre-commit

* fix: build fix

* chore: post-merge cleanup

* chore: post-merge cleanup

* chore(i18n): synchronize translations from crowdin [skip cypress]

* feat: warn about governance in borrow modal (#999)

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* fix: btc.b symbol (#1152)

* fix-tests (#1159)

Co-authored-by: Nikita Boakrev <nikitaboakrev@Nikitas-MacBook-Pro.local>

* fix: use correct blocktime (#1147)

* fix: change item name (#1148)

* chore: automated cache update [skip cypress]

* chore: sort imports (#1127)

Co-authored-by: Drew Cook <drewcook29@gmail.com>

* chore: revise contributing doc and PR template (#1158)

* chore: update contributing doc

* chore: lint

* chore: add default PR template + labels

* chore: move to be used as default

* chore: lowercase labels

* fix: typo

* chore: add project, remove frontmatter from pr template

* chore: projects fix

* chore: remove projects from frontmatter

* chore: update fork link

* chore: use js code block

* feat: add in wallet fork config section

* feat: graph improvements (#1102)

* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <grothem@gmail.com>
Co-authored-by: Andrew Schmidt <andrew@aave.com>

* chore: add QA verification checklist item for reviews (#1175)

* fix: remove duplicate warning (#1173)

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix(swap-modal): open swap modal on mobile (#1181)

* chore: automated cache update [skip cypress]

* fix: correct bridge message (#1168)

* fix: you don't bridge ETH assets

* fix: update po file

* fix: split messages in two

* chore: add @lidofinance/web3-ledgerhq-frame-connector (#1157)

* fix: debt ceiling wording (#1171)

* fix: tooltip wording

* fix: use correct warning component and sort imports

* chore: run i18n

Co-authored-by: Drew Cook <drewcook29@gmail.com>

* feat: market search (#1174)

* feat: wip

* feat: wip

* feat: wip

* feat(search):  styled to match designs

* chore: i18n

* feat(search): filter list based on search term

* chore: lint

* feat(search): auto focus on mobile, hide clear button when inactive

* feat(search): search on underlying address

* feat(search): show no results message

* chore: i18n

* feat(search): give input focus on clearing

* refactor: asset list titles

* feat(search): renamed file, cleanup

* feat(search): cleanup

* refactor: moved files

* feat(search): set font size to 16px on mobile to prevent auto zooming

* chore: small cleanup

* feat(search): focus input on clear on mobile, make code consistent

* chore: i18n

* feat(search): adjust no results message for mobile

* feat: graph improvements (#1102)

* chore: refactor graph component hierarchy

* feat: initial component for graph time range selector

* refactor: moved global style for ToggleButton to a styled component

* fix: enforce a selection

* fix: styles

* fix: bad merge

* refactor: move data fetching to graph containers

* feat: handle selected time range in parent component

* feat: initial hookup of time range selector

* feat: removed 'Max' time selection from graphs

* feat: add in loading/error states

* feat: clean up graph styles

* feat: add supply rate

* chore: remove log

* chore: add circle over supply rate

* chore: supply APR logic

* chore: show time/legend when loading

* chore: test error state

* chore: shorter graphs

* fix: build

* chore: remove unused component

* chore: remove time selector from IRM graph

* chore: add style changes to graphs

* chore: i18n

* chore: bump material and add react-transition-group

* chore: more style updates

* chore: more styling

* feat: add interest rate strategy link (#1124)

* feat: add link to interest rate strategy

* fix: remove unnecessary typography tag

* chore: i18n

* chore: more styling

* chore: cleanup

* chore: removed TODO comment

* fix: handle formatting dates behind UTC time, and don't include time for 6m and 1y time range

* fix: remove console logs

* fix: remove supply APY from interest rate model graph (#1160)

* chore: log cleanup

* chore: show %

* fix: remove horizontal divider for util rate

* chore: update eslintignore

* fix: remove unused file

* fix: re-render issue with loading spinner

* chore: remove unused package

* chore: hide charts for v3 and comment about bug

* chore: remove log

* feat: temporarily disable charts for polygon v2

Co-authored-by: Mark Grothe <grothem@gmail.com>
Co-authored-by: Andrew Schmidt <andrew@aave.com>

* chore: add QA verification checklist item for reviews (#1175)

* fix: remove duplicate warning (#1173)

* chore: i18n

* chore: i18n

* refactor: renamed prop

* feat(search): added debounce to the input change handler

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix(swap-modal): open swap modal on mobile (#1181)

* chore: automated cache update [skip cypress]

* fix: correct bridge message (#1168)

* fix: you don't bridge ETH assets

* fix: update po file

* fix: split messages in two

* chore: i18n

* fix: duplicate imports

* chore: i18n

* chore: i18n

Co-authored-by: Drew Cook <drewcook29@gmail.com>
Co-authored-by: Andrew Schmidt <andrew@aave.com>
Co-authored-by: Crowdin bot <crowdin-bot@aave.com>
Co-authored-by: Cache bot <cache-bot@aave.com>
Co-authored-by: Lukas <lukasstrassel@googlemail.com>

* chore: automated cache update [skip cypress]

* chore: lint and pre-commit updates (#1169)

* chore: order imports

* chore: add files from i18n in pre-commit

Co-authored-by: Drew Cook <drewcook29@gmail.com>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: use a fallback IPFS gateway for dynamic proposals (#1182)

* chore: use a fallback IPFS gateway for dynamic proposals

* fix: typo

* fix: lint (#1185)

* chore: update 404 image (#1184)

* chore: update 404 image

* chore: remove-brackets

* fix tests

Co-authored-by: Nikita Boakrev <nikitaboakrev@Nikitas-MacBook-Pro.local>

* feat: add watch mode only wallet address (#1178)

* feat(WalletWidget): added Alert component

* feat(mockWalletAddressContext): added mockWalletAddressContext

* feat(WalletSelector): added input to wallet selector for mock address

* feat(WatchOnlyModeTooltip): added WatchOnlyMode tooltip

* feat(WalletSelector): use web3 context for set mock adddress

* chore(WalletWidget): removed console log

* feat(WalletWidget): added warning icon

* chore: updated message.js

* chore: updated message.js

* feat(Web3Provider): updated condition to render Wallet Modal

* feat(TxActionsWrapper): render warning text when using mockAddress

* chore: updated messages

* feat(WalletSelector): use utils to check if mock address is valid

* feat(TxActionsWrapper): disabled button if mockAddress is present

* chore: updated message.js

* feat: do not render ChangeNetworkWarning when mockAddress is present

* feat(WalletWidget): added buttons to switch network and disconnect

* feat(WalletWidget): adjusted margin

* chore(WalletWidget): removed Disconnect Wallet button

* chore: removed temp value for max amount to borrow

* chore: updated messages.po

* chore: updated markdown to trigger git delta

* chore: reverted changes to Code of Conduct md

* chore: updated message.js

* chore: unimport WatchOnlyModeToolTip to ensure message.js is updated

* chore(cypress.config): removed eslint-disable

* chore(WalletSelector): re-import WatchOnlyModeToolTip

* feat(WalletWidget): set wallet widget to close when clicking switch wallet

* feat(Web3Provider): when connect wallet, check and remove mock address

* feat: if mockAddress is present, do not render approval help text and button

* feat: on mobile, if mockAddress is present, render Close menu icon

* feat(WalletWidget): update styling for warning text in mobile

* feat(WalletWidget): on mobile, render CTAs at list buttom

* feat(WalletWidget): add color styling to CTAs

* feat(WalletWidget): styling for avatar icon on mobile

* chore: updated message.js

* feat(WalletWidget): update styling for warning icon background

* feat(WalletWidget): use hideWalletAccountText variable to determine mockAddress styling

* chore(WalletWidget): removed un-used improt

* feat(WalletWidget): fine-tune warning icon color

* feat(WalletWidget): updated styling to background and CTA buttons

* feat(WalletWidget): added Divider

* chore(WalletWidget): updated copy

* feat(WalletSelector): use fullWifth props for button

* feat(WalletSelector): use fullWidfth props for input

* feat(WatchOnlyModeTooltip): re-named component with correct casing

* feat(WalletSelector): added boolean state to check for valid address error

* feat(WalletWidget): added handle switch wallet method

* chore: updated messages.js

* chore: code style changes

* update tests

* fix: use proper app header color

* fix: prevent auto zoom on mobile on watch address input

* test: don't set a watch wallet in cypress tests

* feat: wrap in form to allow input by pressing enter

* feat: add support for watching ens names

* feat: add ENS to placeholder text

* feat: enable watch button for ens inputs

* chore: use proper submit button for form

* chore: sx styles

* fix tests

Co-authored-by: matthew.lau <lau.cy.matthew@gmail.com>
Co-authored-by: Mark Grothe <grothem@gmail.com>
Co-authored-by: Nikita Boakrev <nikitaboakrev@Nikitas-MacBook-Pro.local>
Co-authored-by: Andrew Schmidt <andrew@aave.com>

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore(i18n): synchronize translations from crowdin [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* chore: automated cache update [skip cypress]

* fix: use gateway retry logic anywhere we fetch ipfs data (#1186)

* fix: swap ipfs gateway

* fix: replace pinata gateway with ipfs one

* fix: use retry logic anywhere we try to get proposal from ipfs

* fix: remove unused param

* chore: add JSDoc comments

Co-authored-by: Drew Cook <drewcook29@gmail.com>

* fix: lint

Co-authored-by: Cache bot <cache-bot@aave.com>
Co-authored-by: Lukas <lukasstrassel@googlemail.com>
Co-authored-by: Nikita <right2maresko@gmail.com>
Co-authored-by: Nikita Boakrev <nikitaboakrev@Nikitas-MacBook-Pro.local>
Co-authored-by: Drew Cook <drewcook29@gmail.com>
Co-authored-by: Andrew Schmidt <andrew@aave.com>
Co-authored-by: Crowdin bot <crowdin-bot@aave.com>
Co-authored-by: Mark Hinschberger <foodaka@users.noreply.github.com>
Co-authored-by: Jonathan Reem <jonathan.reem@gmail.com>
Co-authored-by: derasd <buenascold@gmail.com>
Co-authored-by: slundy-ledger <96065469+slundy-ledger@users.noreply.github.com>
Co-authored-by: 0xGraham <grahamnelson@live.com>
Co-authored-by: matthew.lau <lau.cy.matthew@gmail.com>
  • Loading branch information
14 people authored Oct 3, 2022
1 parent ca668c8 commit 331d415
Show file tree
Hide file tree
Showing 331 changed files with 4,483 additions and 2,405 deletions.
23 changes: 22 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1 +1,22 @@
scripts/
# General Ignores
.gitignore
.prettierignore
.eslintcache
node_modules/
public/

# Artifacts
.next/
out/
src/locales/

# IDE
.vscode

# Specific Ignores
*.svg
*.ico
*.json
*.md
*.log
*.lock
6 changes: 3 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ module.exports = {
'plugin:import/typescript',
'plugin:@typescript-eslint/recommended',
],
plugins: ['prettier', 'import', /* 'simple-import-sort', */ '@typescript-eslint'],
plugins: ['prettier', 'import', 'simple-import-sort', '@typescript-eslint'],
rules: {
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-explicit-any': 'error',
'prettier/prettier': 'warn',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
// 'simple-import-sort/imports': 'error',
// 'simple-import-sort/exports': 'warn',
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'warn',
'import/first': 'error',
'import/newline-after-import': 'error',
'import/no-duplicates': 'error',
Expand Down
5 changes: 1 addition & 4 deletions .github/ISSUE_TEMPLATE/bug-report---.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
name: "Bug report \U0001F41B"
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

labels: 'new issue, bug'
---

**Describe the bug**
Expand Down
5 changes: 1 addition & 4 deletions .github/ISSUE_TEMPLATE/feature-request---.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
---
name: "Feature request \U0001F47B"
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

labels: 'new issue, feature'
---

**Is your feature request related to a problem? Please describe.**
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/analyze-comment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ inputs:
PULL_REQUEST_NUMBER:
description: Pull request id in case it does not exist in the context by default
required: false
default: "0"
default: '0'
runs:
using: "composite"
using: 'composite'
steps:
- name: Download PR bundle stats
if: github.event.workflow_run.id
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/cypress/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
description: yarn command to run test
required: true
runs:
using: "composite"
using: 'composite'
steps:
- uses: actions/setup-node@2fddd8803e2f5c9604345a0b591c3020ee971a93 # v3.4.1
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/fork-result-comment/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ inputs:
PULL_REQUEST_NUMBER:
description: Pull request id
required: false
default: "0"
default: '0'
COMMENT_BODY:
description: Text of the comment
required: true
runs:
using: "composite"
using: 'composite'
steps:
- name: Find Comment
uses: peter-evans/find-comment@1769778a0c5bd330272d749d12c036d65e70d39d # v2.0.0
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/private-ipfs-pin/action.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Pin to private cluster
description: Upload build to ipfs nodes runnning in GKE
description: Upload build to ipfs nodes running in GKE
inputs:
DOMAIN:
description: Domain to unpin
description: Domain to unpin
required: true
GCP_SA_KEY:
description: ''
Expand All @@ -16,7 +16,7 @@ inputs:
BUILD_PATH:
description: path to the build directory
required: true
PINATA_HASH:
PINATA_HASH:
description: ''
required: true
runs:
Expand Down
10 changes: 5 additions & 5 deletions .github/actions/upload-artifacts/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ inputs:
required: false
default: out
PR_INFO:
description: shoud this artifact be uploaded
description: should this artifact be uploaded
required: false
default: "true"
default: 'true'
NEXTJS_BUILD:
description: shoud this artifact be uploaded
description: should this artifact be uploaded
required: false
default: "true"
default: 'true'
runs:
using: "composite"
using: 'composite'
steps:
- name: Save PR number
if: github.event.number && inputs.PR_INFO == 'true'
Expand Down
29 changes: 29 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
## General Changes

- Fixes XYZ bug
- Adds XYZ feature
-

## Developer Notes

Add any notes here that may be helpful for reviewers.

## Author Checklist

- [ ] The base branch is set to `main`
- [ ] The title is using [Conventional Commit](https://www.conventionalcommits.org/en/v1.0.0/) formatting
- [ ] The Github issue has been linked to the PR in the Development section
- [ ] The General Changes section has been filled out
- [ ] Developer Notes have been added (optional)

## Reviewer Checklist

- [ ] End-to-end tests are passing without any errors
- [ ] Code style generally follows existing patterns
- [ ] Code changes do not significantly increase the application bundle size
- [ ] New third-party packages, if any, do not introduce potential security threats
- [ ] There are no CI changes, or they have been OK’d by the devops team
- [ ] Code changes have been quality checked in the ephemeral URL
- [ ] QA verification has been completed
- [ ] There are two or more approvals from the core team
- [ ] Squash and merge has been checked
4 changes: 2 additions & 2 deletions .github/workflows/build-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ concurrency:

on:
pull_request:
branches: ["main"]
branches: ['main']

jobs:
build:
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Build App
uses: ./.github/actions/build
with:
NEXT_PUBLIC_ENV: "prod"
NEXT_PUBLIC_ENV: 'prod'

- name: Upload artifacts
uses: ./.github/actions/upload-artifacts
3 changes: 0 additions & 3 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ jobs:
fail-fast: false
matrix:
market:
- fantom
- polygon
- avalanche
- optimism
Expand Down Expand Up @@ -181,7 +180,6 @@ jobs:
fail-fast: false
matrix:
market:
- fantom
- polygon
- avalanche
- optimism
Expand Down Expand Up @@ -232,7 +230,6 @@ jobs:
fail-fast: false
matrix:
market:
- fantom
- polygon
- avalanche
- optimism
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/i18n-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ concurrency:

on:
pull_request:
branches: ["main"]
branches: ['main']
push:
branches: ["main"]
branches: ['main']

jobs:
i18n-check:
Expand Down
32 changes: 14 additions & 18 deletions .github/workflows/test-deploy-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ concurrency:

on:
workflow_run:
workflows: ["Build PR From Fork"]
types: ["completed"]
workflows: ['Build PR From Fork']
types: ['completed']

jobs:
prepare_jobs:
Expand All @@ -22,7 +22,7 @@ jobs:
uses: dawidd6/action-download-artifact@ea71f332a90fd52416b1629b933dcf7e0ccd421d # v2.22.0
with:
workflow: build-fork.yml
run_id: "${{ github.event.workflow_run.id }}"
run_id: '${{ github.event.workflow_run.id }}'
workflow_conclusion: success
name: pr
path: ./
Expand All @@ -46,7 +46,7 @@ jobs:
next_js_analyze:
runs-on: ubuntu-latest
needs: ["prepare_jobs"]
needs: ['prepare_jobs']
env:
PR_NUMBER: ${{ needs.prepare_jobs.outputs.pr_number }}
steps:
Expand All @@ -56,11 +56,11 @@ jobs:

- uses: ./.github/actions/analyze-comment
with:
PULL_REQUEST_NUMBER: "${{ env.PR_NUMBER }}"
PULL_REQUEST_NUMBER: '${{ env.PR_NUMBER }}'

cypress_smoke_v2:
runs-on: ubuntu-latest
needs: ["prepare_jobs"]
needs: ['prepare_jobs']
strategy:
fail-fast: false
matrix:
Expand All @@ -82,12 +82,11 @@ jobs:

cypress_smoke_v3:
runs-on: ubuntu-latest
needs: ["prepare_jobs"]
needs: ['prepare_jobs']
strategy:
fail-fast: false
matrix:
market:
- fantom
- polygon
- avalanche
- optimism
Expand Down Expand Up @@ -147,7 +146,7 @@ jobs:
cypress_full_v2:
runs-on: ubuntu-latest
needs: ["deploy_fork"]
needs: ['deploy_fork']
strategy:
fail-fast: false
matrix:
Expand All @@ -169,12 +168,11 @@ jobs:

cypress_full_v3:
runs-on: ubuntu-latest
needs: ["deploy_fork"]
needs: ['deploy_fork']
strategy:
fail-fast: false
matrix:
market:
- fantom
- polygon
- avalanche
- optimism
Expand All @@ -191,7 +189,7 @@ jobs:

cypress_additional_v2:
runs-on: ubuntu-latest
needs: ["deploy_fork"]
needs: ['deploy_fork']
strategy:
fail-fast: false
matrix:
Expand All @@ -212,12 +210,11 @@ jobs:

cypress_additional_v3:
runs-on: ubuntu-latest
needs: ["deploy_fork"]
needs: ['deploy_fork']
strategy:
fail-fast: false
matrix:
market:
- fantom
- polygon
- avalanche
- optimism
Expand All @@ -234,7 +231,7 @@ jobs:

cypress_app_functionality:
runs-on: ubuntu-latest
needs: ["deploy_fork"]
needs: ['deploy_fork']
strategy:
fail-fast: false
matrix:
Expand All @@ -251,7 +248,6 @@ jobs:
CYPRESS_TENDERLY_PROJECT: ${{ secrets.TENDERLY_PROJECT }}
YARN_TEST_COMMAND: npx cypress-repeat run -n 2 --rerun-failed-only --config-file ./cypress/configs/${{ matrix.scoupe }}.config.ts


notify_failure:
runs-on: ubuntu-latest
if: failure()
Expand Down Expand Up @@ -293,5 +289,5 @@ jobs:
with:
PULL_REQUEST_NUMBER: '${{ env.PR_NUMBER }}'
COMMENT_BODY: |
✅ CI run has succeded!
You can find tests and deployment logs at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
✅ CI run has succeded!
You can find tests and deployment logs at ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}'
2 changes: 1 addition & 1 deletion .github/workflows/update-prod-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ jobs:
with:
PINATA_API_KEY: '${{ secrets.PINATA_API_KEY }}'
PINATA_SECRET_KEY: '${{ secrets.PINATA_SECRET_KEY }}'
PIN_ALIAS: "app-aave-staging"
PIN_ALIAS: 'app-aave-staging'
BUILD_LOCATION: './out_staging'
CID_VERSION: 1

Expand Down
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@

npx lint-staged
yarn i18n
git add ./src/locales
22 changes: 22 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# General Ignores
.gitignore
.eslintcache
.eslintignore
node_modules/
public/

# Artifacts
.next/
out/
src/locales/

# IDE
.vscode

# Specific Ignores
*.svg
*.ico
*.json
*.md
*.log
*.lock
Loading

0 comments on commit 331d415

Please sign in to comment.