-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
worked on the profile button and the logout fuction
- Loading branch information
Showing
59 changed files
with
8,093 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Task | ||
title: "task: " | ||
description: Create a task for the project | ||
labels: ['task'] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Here is the task! | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Task description | ||
description: A clear and concise description of the task | ||
value: | | ||
- [ ] | ||
validations: | ||
required: true | ||
|
||
- type: input | ||
attributes: | ||
label: Related Issues | ||
placeholder: | | ||
Relates #21 | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Proposals | ||
description: Submit a proposal for consideration | ||
title: 'proposal: ' | ||
labels: ['proposal'] | ||
|
||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Proposals | ||
Thanks for helping us improve! 🙏 Please follow the sections in the template and provide as much information. | ||
- type: textarea | ||
id: summary | ||
attributes: | ||
label: Summary | ||
description: Briefly summarize the proposal. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: benefits | ||
attributes: | ||
label: Benefits | ||
description: Explain the benefits and potential impact of implementing the proposal. | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: implementation-plan | ||
attributes: | ||
label: Implementation Plan | ||
description: Outline the steps or phases required to implement the proposal. | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: additional-info | ||
attributes: | ||
label: Additional Information | ||
description: Include any additional information or references that support the proposal. | ||
validations: | ||
required: false | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: Feature request | ||
description: Suggest an idea for this project | ||
title: 'feature-request:' | ||
labels: ['enhancement','feature-request','feature'] | ||
assignees: ['Nasfame'] | ||
|
||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
## Feature Request | ||
Thanks for helping us improve! 🙏 Please follow the sections in the template and provide as much information. | ||
- type: input | ||
attributes: | ||
label: Related Issues | ||
placeholder: | | ||
Relates #21 | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: feature_request | ||
attributes: | ||
label: Summary | ||
description: Briefly summarize the feature. | ||
validations: | ||
required: true | ||
|
||
- type: textarea | ||
id: implementation-plan | ||
attributes: | ||
label: Implementation Plan | ||
description: Outline the steps or phases required to implement the feature. | ||
validations: | ||
required: false | ||
|
||
- type: textarea | ||
id: additional-info | ||
attributes: | ||
label: Additional Information | ||
description: Include any additional information or references that support the proposal. | ||
validations: | ||
required: false | ||
|
||
|
||
|
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ | |
|
||
<!--## Additional Information--> | ||
|
||
To be reviewed by: @Nasfame | ||
To be reviewed by: @Nasfame @techyNonso |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Build Hardhat | ||
|
||
on: | ||
push: | ||
|
||
pull_request: | ||
|
||
workflow_dispatch: | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: ./hardhat | ||
|
||
env: | ||
envfile: ${{secrets.ENVHardhat}} | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8.6.6 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: "pnpm" | ||
node-version: "20.9.0" | ||
check-latest: true | ||
|
||
- name: Write environment | ||
run: | | ||
echo $envfile > .env | ||
sed -i 's/ /\n/g' .env | ||
source .env | ||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Compile contracts | ||
run: npx hardhat compile |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Cross Hardhat | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
|
||
pull_request: | ||
branches: | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
defaults: | ||
run: | ||
working-directory: ./hardhat | ||
|
||
env: | ||
envfile: ${{secrets.ENVHardhat}} | ||
MODE: test | ||
NODE_ENV: testing | ||
|
||
jobs: | ||
build: | ||
timeout-minutes: 10 | ||
|
||
strategy: | ||
max-parallel: 2 | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest, macos-latest, windows-latest] | ||
node_version: [18, 19, 20] | ||
architecture: [x64] #, arm64 ] # arm, | ||
|
||
runs-on: ${{ matrix.os }} | ||
name: Node ${{ matrix.node_version }} - ${{ matrix.architecture }} on ${{ matrix.os }} | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- uses: pnpm/action-setup@v2 | ||
with: | ||
version: 8.6.6 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
cache: "pnpm" | ||
node-version: ${{ matrix.node_version }} | ||
architecture: ${{ matrix.architecture }} | ||
check-latest: true | ||
|
||
- name: Write environment | ||
run: | | ||
echo $envfile > .env.tmp | ||
sed 's/ /\n/g' .env.tmp > .env | ||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
- name: Build | ||
run: npm run build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
name: Deploy Hardhat to GCR | ||
on: | ||
push: | ||
branches: | ||
|
||
tags: | ||
|
||
workflow_dispatch: | ||
|
||
env: | ||
REGISTRY: ghcr.io | ||
IMAGE_NAME: ${{ github.repository }} | ||
PUSH_TAG: ${{github.repository}}:latest | ||
REPO: ${{github.repository}} | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: ./hardhat | ||
|
||
jobs: | ||
build-and-push-image: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
packages: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Log in to the Container registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ${{ env.REGISTRY }} | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Extract metadata (tags, labels) for Docker | ||
id: meta | ||
uses: docker/metadata-action@v4 | ||
with: | ||
# base for tags | ||
images: | | ||
${{ env.REGISTRY }}/${{ github.repository }}/hardhat | ||
tags: | | ||
type=schedule | ||
type=sha,format=short | ||
type=ref,event=branch | ||
type=ref,event=tag | ||
type=ref,event=pr | ||
type=semver,pattern={{version}} | ||
type=semver,pattern={{major}}.{{minor}} | ||
- name: Evaluate all tags | ||
run: | | ||
echo meta tags | ||
echo "${{ steps.meta.outputs.tags }}" | ||
- name: Build and push Docker image | ||
uses: docker/build-push-action@v4 | ||
with: | ||
context: . | ||
push: ${{ github.event_name != 'pull_request' }} | ||
tags: ${{ steps.meta.outputs.tags }} | ||
labels: ${{ steps.meta.outputs.labels}} | ||
github-token: ${{github.token}} | ||
# platforms: linux/arm64,linux/amd64 TODO: |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Docker Hardhat | ||
on: | ||
push: | ||
branches: | ||
- main | ||
tags: | ||
|
||
pull_request: | ||
branches: | ||
|
||
merge_group: | ||
types: [checks_requested] | ||
|
||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
envfile: ${{secrets.ENVHardhat}} | ||
MODE: test | ||
NODE_ENV: testing | ||
|
||
defaults: | ||
run: | ||
shell: bash | ||
working-directory: ./hardhat | ||
|
||
jobs: | ||
build-docker: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Build Docker | ||
run: docker build . |
Oops, something went wrong.