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

Grant check on DAPP startup #237

Merged
merged 15 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
8 changes: 8 additions & 0 deletions .changeset/perfect-wolves-design.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@burnt-labs/abstraxion-core": minor
"@burnt-labs/abstraxion": minor
"demo-app": minor
"@burnt-labs/ui": minor
---

implement extended grant checks for legacy grant configs and treasury contracts
33 changes: 33 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,36 @@ jobs:
id: build-the-mono-repo
run: |
pnpm build

test:
name: 🧪 Run Tests
strategy:
matrix:
os: [ubuntu-latest]
node-version: [lts/*]
pnpm-version: [8.9.0]
runs-on: ${{ matrix.os }}
steps:
- name: ⬇️ Checkout
uses: actions/[email protected]

- name: 🟢 Setup Node.js
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- name: 🥡 Setup pnpm
uses: pnpm/action-setup@v4
with:
version: ${{ matrix.pnpm-version }}

- name: 🔄 Install Dependencies
run: pnpm install

- name: 🏗️ Build
id: build-the-mono-repo
run: |
pnpm build

- name: 🧪 Run Tests
run: pnpm test
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"changeset": "changeset",
"publish:packages": "changeset publish",
"version:packages": "changeset version"
"version:packages": "changeset version",
"test": "turbo run test"
},
"packageManager": "[email protected]",
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/abstraxion-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"devDependencies": {
"@babel/core": "^7.24.5",
"@babel/preset-env": "^7.24.5",
"@babel/preset-typescript": "^7.26.0",
"@burnt-labs/eslint-config-custom": "workspace:*",
"@burnt-labs/signers": "workspace:*",
"@burnt-labs/tailwind-config": "workspace:*",
Expand All @@ -32,6 +33,7 @@
"jest": "^29.7.0",
"rimraf": "^5.0.5",
"text-encoding": "^0.7.0",
"ts-node": "^10.9.2",
"tsup": "^6.0.1",
"typescript": "^5.2.2"
},
Expand Down
Loading
Loading