Skip to content

Commit b39564f

Browse files
authored
ci: update GitHub Actions workflows to trigger on main branch for push and pull_request events (boundlessfi#46)
* feat(project): add metadata_uri, is_successful, is_closed, and created_at fields to Project struct and update new() method accordingly * refactor(create_project_event): change project_id type from u64 to String * refactor(create_project_storage): change project_id type from u64 to String * feat(create_project): add metadata_uri and change project_id to String in create_project function * feat: add wallet connection and project creation functionalities - add ConnectWalletButton component to dashboard layout - create ProjectsPage for displaying user projects - update project creation API route to handle new fields - add wallet store using Zustand for managing wallet state - implement project form with wallet connection and metadata upload - add MyProjectsList component to display user's projects - update utils with formatAddress function - add dependencies: uuid and zustand * docs: update README with detailed contribution guide and project overview * docs: update README with support section and adjust Discord link format * feat(project_contract): implement voting functionality for projects Enable voting on projects by adding vote_project module with storage and event handling. * feat(create_project): add project management functionalities - add project existence check and funding target validation - implement get_project, update_project_metadata, modify_milestone, and close_project methods - update storage to use persistent Map for project data - enhance tests for new functionalities and edge cases * ci: add GitHub Actions for Node.js, Rust, and Stellar setup ci: add Rust format check workflow ci: comment out pre-commit build step in Husky * style: reorder imports and reformat code in create_project_event.rs * ci: add Node.js workflow for build and test * chore: update lint and format scripts in package.json * ci: update GitHub Actions workflow for Node.js configuration * ci(workflows): update nodejs.yml to include complete job and reorganize steps * refactor: reorder imports and improve code formatting across multiple files * add prettier * chore: remove Prettier format check from GitHub Actions workflow * ci: add GitHub Actions workflow for verifying build chore: add Node.js version to .nvmrc chore: update package-lock.json with new dependencies chore: modify package.json to use tsx for initialization script chore: add rust-toolchain.toml for Rust toolchain configuration feat: add initialization script for setting up environment and deploying contracts chore: add utility functions for the initialization script * chore: add Makefile for build automation * chore: comment out clippy step in GitHub Actions workflow * ci(workflow): consolidate environment variables and build steps in verify-build.yml * refactor(scripts): remove unused mkdirSync import and add logging for binding and importing contracts * refactor(scripts): remove redundant console log in initialize script * refactor: comment out existing functionality in CreateProjectComponent and add placeholder component content * chore(scripts): add debug log to bindAll function in initialize script * fix: correct path for deployed contract IDs directory * fix(scripts): correct contracts directory path and enable logging * fix(scripts): correct contracts directory path and enable logging * fix(scripts): correct path for contract IDs directory in getContracts function * refactor(scripts): simplify and streamline contract initialization process * ci: add SOROBAN_SECRET_KEY to environment variables in verify-build workflow * refactor(project-form): rename createProject to contractClient for clarity * refactor: remove CreateProjectComponent and related page files * feat: add vercel configuration file for deployment * chore: update .gitignore to exclude contract unit test snapshots * style: reorder imports for consistency and readability * feat: add @radix-ui/react-alert-dialog dependency and update @radix-ui/react-dialog to 1.1.6 * ci: remove ci.yml workflow configuration * ci: update GitHub Actions workflows to trigger on main branch for push and pull_request events
1 parent 283f38a commit b39564f

3 files changed

Lines changed: 12 additions & 3 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ name: Node.js
22

33
on:
44
push:
5-
branches-ignore:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
69
- main
710

811
jobs:

.github/workflows/rustfmt.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ name: "Rust: Format Check"
22

33
on:
44
push:
5-
branches-ignore:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
69
- main
710

811
jobs:

.github/workflows/verify-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: Verify Build
22
on:
33
push:
4-
branches-ignore:
4+
branches:
5+
- main
6+
pull_request:
7+
branches:
58
- main
69

710
jobs:

0 commit comments

Comments
 (0)