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

Release v0.2.1 #16

Merged
merged 21 commits into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
7099318
feat(contracts): Add two more sets of validator/stake/rewards tests b…
pbennett Apr 4, 2024
cf0e664
fix(ui): Update 'max stake' allowed per validator calculation
pbennett Apr 4, 2024
836956d
Merge pull request #10 from TxnLab/fix/calc-max-stake
pbennett Apr 4, 2024
d786bcd
chore(ui): run prettier/eslint
drichar Apr 4, 2024
ee10ffb
ci(ui): add GitHub Actions CI workflow
drichar Apr 4, 2024
6683438
ci(ui): fix scripts
drichar Apr 4, 2024
c5489e1
chore(ui): migrate from Jest -> Vitest
drichar Apr 4, 2024
b30ee1d
fix(ui): set VITE_ALGOD_NETWORK in localnet env
drichar Apr 4, 2024
5cf5a33
fix(ui): remove wallet connection check in /validators route
drichar Apr 4, 2024
363a652
chore(ui): remove unused utils/wallets.ts
drichar Apr 4, 2024
ab06f80
Merge pull request #12 from TxnLab/fix/ui-localnet-env
drichar Apr 4, 2024
aaa1ad8
Merge pull request #11 from TxnLab/chore/ui-ci
drichar Apr 4, 2024
7c88f8e
Merge branch 'dev' into fix/ui-validators-route
drichar Apr 4, 2024
19933bd
Merge pull request #13 from TxnLab/fix/ui-validators-route
drichar Apr 4, 2024
fa07fc2
fix(ui): prevent division by zero if no pools
drichar Apr 4, 2024
d5bde80
fix(ui): handle constraints being undefined pre-fetch
drichar Apr 4, 2024
f14d61d
Merge pull request #14 from TxnLab/fix/ui-calculate-max-stake
pbennett Apr 4, 2024
bb16e4b
fix(ui): use constraints for maxStakersPerPool and maxNodes
drichar Apr 4, 2024
11e692e
feat(ui): prefetch constraints before dashboard route loads
drichar Apr 4, 2024
67aa509
Merge pull request #15 from TxnLab/fix/ui-use-protocol-constraints
pbennett Apr 4, 2024
b65277e
chore: release v0.2.1
drichar Apr 4, 2024
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
60 changes: 60 additions & 0 deletions .github/workflows/ci-ui.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: CI Workflow (UI)

on:
push:
branches: [ dev, main ]
pull_request:
branches: [ dev, main ]

jobs:
run-ci:
name: Lint, Typecheck, Test, and Build
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV

- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-

- name: Install dependencies
run: pnpm --filter ./ui install

- name: Lint
run: pnpm --filter ./ui run lint

- name: Prettier
run: pnpm --filter ./ui run prettier

- name: Typecheck
run: pnpm --filter ./ui run typecheck

- name: Run tests
run: pnpm --filter ./ui run test

- name: Build
run: pnpm --filter ./ui run build
Loading
Loading