diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000..7f696f0f --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,26 @@ +--- +name: Bug Report +about: Create a bug report to help us improve +title: "fix: " +labels: bug +assignees: "" +--- + +## Bug Report + +#### Version: +- Release: v1.0.0 +- Tag: release-1.0.0 +- Commit: abc123f + + + +### Expected behavior + + + +### Steps to reproduce + + + diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 00000000..d45e57dd --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,6 @@ +--- +blank_issues_enabled: false +contact_links: + - name: Kadindexer Support + url: https://t.me/zeroxneves + about: Please ask and answer questions here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 00000000..fc53a525 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature Request +about: Suggest an idea or enhancement for this project +title: "feat:" +labels: enhancement +assignees: "" +--- + +## Feature Request + +### Describe the Feature + + + +### Additional Context or Related Code + + diff --git a/.github/ISSUE_TEMPLATE/refactor_request.md b/.github/ISSUE_TEMPLATE/refactor_request.md new file mode 100644 index 00000000..635238f3 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/refactor_request.md @@ -0,0 +1,21 @@ +--- +name: Refactor Request +about: Suggest the refactoring for this project +title: "refactor:" +labels: enhancement +assignees: "" +--- + +## Refactor Request + +### Describe the Refactor Request + + + +### Additional Context or Related Code + + + diff --git a/.github/workflows/indexer.yml b/.github/workflows/indexer.yml index 08cb41e0..ac772cef 100644 --- a/.github/workflows/indexer.yml +++ b/.github/workflows/indexer.yml @@ -27,5 +27,5 @@ jobs: working-directory: ./indexer - name: Build - run: yarn build + run: tsc working-directory: ./indexer diff --git a/.github/workflows/web-preview.yml b/.github/workflows/web-preview.yml deleted file mode 100644 index 4a65ec70..00000000 --- a/.github/workflows/web-preview.yml +++ /dev/null @@ -1,47 +0,0 @@ -name: Preview -# on: -# pull_request: -# paths: -# - 'web/**' - -jobs: - frontend_dev_deploy: - runs-on: ubuntu-latest - env: - CG_KEY: ${{ vars.CG_KEY }} - API_URL: ${{ vars.API_URL }} - VERCEL_ORG_ID: ${{ vars.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ vars.VERCEL_PROJECT_ID }} - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 20.x - - - name: Install yarn - run: npm install -g yarn - - - name: Install Vercel CLI - run: npm i -g vercel - - - name: Install dependencies - run: yarn --frozen-lockfile - - - name: Pull vercel setup - run: vercel pull --yes --token=${{ secrets.VERCEL_TOKEN }} - - - name: Build Project Artifacts - env: - NITRO_PRESET: vercel - run: vercel build - - - name: Deploy Project Artifacts to Vercel - run: > - vercel - deploy - --prebuilt - --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/web-production.yml b/.github/workflows/web-production.yml deleted file mode 100644 index d929d154..00000000 --- a/.github/workflows/web-production.yml +++ /dev/null @@ -1,55 +0,0 @@ -name: Production Deploy - -# on: -# push: -# branches: -# - main -# paths: -# - 'web/**' - -concurrency: - group: ci-${{ github.ref }} - cancel-in-progress: true - -jobs: - production_deploy: - runs-on: ubuntu-latest - env: - CG_KEY: ${{ vars.CG_KEY }} - API_URL: ${{ vars.API_URL }} - VERCEL_ORG_ID: ${{ vars.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ vars.VERCEL_PROJECT_ID }} - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 20.x - - - name: Install yarn - run: npm install -g yarn - - - name: Install Vercel CLI - run: npm i -g vercel - - - name: Install dependencies - run: yarn --frozen-lockfile - - - name: Pull vercel setup - run: vercel pull --yes --token=${{ secrets.VERCEL_TOKEN }} - - - name: Build Project Artifacts - env: - NITRO_PRESET: vercel - run: vercel build --prod - - - name: Deploy Project Artifacts to Vercel - run: > - vercel - deploy - --prod - --prebuilt - --token=${{ secrets.VERCEL_TOKEN }} diff --git a/README.md b/README.md index 47ae5fde..552955f8 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Kadindexer - Kadena Indexer -This project is a monorepo that contains the following packages: +[![Build](https://github.com/hack-a-chain-software/indexer-kadena/actions/workflows/indexer.yml/badge.svg)](https://github.com/hack-a-chain-software/indexer-kadena/actions/workflows/indexer.yml) - [`@kadena-indexer/indexer`](indexer/README.md): The indexer package, which is responsible for scanning and storing blocks for Kadena blockchain. - [`@kadena-indexer/terraform`](terraform/README.md): The Terraform configuration for provisioning the infrastructure required to run the indexer and the node.