Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: sync staging → main #36

Merged
merged 27 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
edd8358
chore: upgrade deps
grikomsn Nov 29, 2023
9d0a44d
fix: remove deprecated query options
grikomsn Nov 29, 2023
64f1fed
fix(api): call getCumulativeMEV from the browser, not a function
Zygimantass Dec 1, 2023
5294fb9
fix(api): call getCumulativeMEV from the browser, not a function (#35)
Dec 1, 2023
6c89909
chore: update gitignore
grikomsn Dec 1, 2023
e60b03c
refactor: tidy up tailwind configs
grikomsn Dec 1, 2023
63ff690
feat: setup shadcn-ui
grikomsn Dec 1, 2023
d5f4e96
feat: extract svg icons
grikomsn Oct 4, 2023
dc7644b
refactor: replace img/svg with jsx icons
grikomsn Oct 4, 2023
6bf087f
fix: update invalid svg props
grikomsn Dec 1, 2023
8cd2f99
refactor: drop remote fonts and use local deps
grikomsn Dec 1, 2023
e3bc6e8
feat: add deploy-dev workflow
grikomsn Dec 1, 2023
ab0359f
feat: extract custom colors
grikomsn Dec 1, 2023
844314a
refactor: reduce hardcoded colors
grikomsn Dec 1, 2023
8841ccc
chore: update components.json
grikomsn Dec 1, 2023
1a0b406
feat: add ui deps
grikomsn Dec 1, 2023
cf3a150
fix: update invalid svg props
grikomsn Dec 4, 2023
b7cb647
feat: add shadcn ui components
grikomsn Dec 4, 2023
9f46d2c
chore: remove hardcoded sentry envs
grikomsn Dec 4, 2023
89217e3
feat: force tailwind dark mode
grikomsn Dec 4, 2023
9e80ec9
chore: organize imports
grikomsn Dec 4, 2023
ec926ae
chore: relative table head
grikomsn Dec 4, 2023
3da9dfe
fix: update sort by select value state
grikomsn Dec 4, 2023
ef07df5
feat: clickable validators table header
grikomsn Dec 4, 2023
91f8771
feat: add slugify deps
grikomsn Dec 4, 2023
3c4df2d
feat: add slug field in ValidatorWithStats
grikomsn Dec 4, 2023
af2314b
refactor: normalize validator sorting by slug or moniker
grikomsn Dec 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Deploy
on:
pull_request:
branches: [staging]
types: [closed]
push:
branches: [staging]
repository_dispatch:
types: [deploy-dev]
workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- id: checkout
name: Checkout
uses: actions/checkout@v3
with:
ref: dev

- id: pull-staging
name: Pull latest 'staging'
run: git pull origin staging

- id: diff-check
name: Check if 'dev' is behind 'staging'
run: git diff --exit-code origin/staging

- id: fast-forward
name: Fast forward 'staging' → 'dev'
run: git merge --ff-only origin/staging

- id: push-dev
name: Push latest 'dev'
run: git push --set-upstream origin dev
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.next
.turbo
.vercel
.vscode
*.log
**/node_modules/
pnpm-lock.yaml
Expand Down
16 changes: 16 additions & 0 deletions components.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
},
"rsc": false,
"style": "new-york",
"tailwind": {
"baseColor": "zinc",
"config": "tailwind.config.js",
"css": "src/styles/globals.css",
"cssVariables": false
},
"tsx": true
}
Loading