Skip to content

Commit

Permalink
Merge pull request #697 from haqq-network/dev
Browse files Browse the repository at this point in the history
release
  • Loading branch information
olegshilov authored Feb 19, 2024
2 parents b4655e6 + 2dda1c9 commit 8dd07bc
Show file tree
Hide file tree
Showing 185 changed files with 2,048 additions and 3,857 deletions.
21 changes: 10 additions & 11 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,29 @@
codecov:
branch: dev
notify:
after_n_builds: 2
wait_for_ci: true

coverage:
range: 70..90
range: [70, 90]
round: down
precision: 2
status:
patch:
enabled: false
project:
enabled: false
patch: false
project: false

flag_management:
default_rules:
carryforward: true
statuses:
- type: project
target: 70..90
target: auto
threshold: 1
- type: patch
target: 50

comment:
layout:
- reach
- diff
- flags
- files
layout: 'reach, diff, flags, files'
behavior: default

parsers:
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ concurrency:
jobs:
test-and-lint:
name: Test and Lint
runs-on: ubuntu-cpu16-ram64
runs-on:
- ubuntu
- self-hosted
if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || (github.event_name == 'push' && github.ref == 'refs/heads/dev')
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand All @@ -37,12 +41,16 @@ jobs:

build:
name: Build
runs-on: ubuntu-cpu16-ram64
runs-on:
- ubuntu
- self-hosted
if: (github.event_name == 'pull_request' && !github.event.pull_request.draft) || (github.event_name == 'push' && github.ref == 'refs/heads/dev')
needs: test-and-lint
env:
FALCONER_ENDPOINT: ${{ secrets.FALCONER_ENDPOINT }}
TURNSTILE_SITEKEY: ${{ secrets.TURNSTILE_SITEKEY }}
NX_AIRDROP_ENDPOINT: ${{ secrets.NX_AIRDROP_ENDPOINT }}
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@ name: 'CodeQL'

on:
push:
branches: ['dev', 'prod']
branches:
- dev
- prod
pull_request:
branches: ['dev']
branches:
- dev
schedule:
- cron: '0 8 * * 1'
merge_group:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/preview-vercel-faucet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Faucet Preview Deployment
name: Faucet Deploy

on:
push:
Expand All @@ -8,16 +8,18 @@ on:
branches:
- dev
workflow_dispatch:
merge_group:

jobs:
Deploy-Preview:
runs-on: ubuntu-cpu16-ram64
Preview:
runs-on:
- ubuntu
- self-hosted
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_FAUCET_PROJECT_ID }}
NX_SKIP_NX_CACHE: true
GIT_COMMIT_SHA: ${{ github.sha }}
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/preview-vercel-governance.yml

This file was deleted.

10 changes: 6 additions & 4 deletions .github/workflows/preview-vercel-haqq-website.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Haqq-website Preview Deployment
name: Haqq Website Deploy

on:
push:
Expand All @@ -8,16 +8,18 @@ on:
branches:
- dev
workflow_dispatch:
merge_group:

jobs:
Deploy-Preview:
runs-on: ubuntu-cpu16-ram64
Preview:
runs-on:
- ubuntu
- self-hosted
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_HAQQ_WEBSITE_PROJECT_ID }}
NX_SKIP_NX_CACHE: true
GIT_COMMIT_SHA: ${{ github.sha }}
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/preview-vercel-islamic-website.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Islamic-website Preview Deployment
name: Islamic Website Deploy

on:
push:
Expand All @@ -8,16 +8,18 @@ on:
branches:
- dev
workflow_dispatch:
merge_group:

jobs:
Deploy-Preview:
runs-on: ubuntu-cpu16-ram64
Preview:
runs-on:
- ubuntu
- self-hosted
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_ISLAMIC_WEBSITE_PROJECT_ID }}
NX_SKIP_NX_CACHE: true
GIT_COMMIT_SHA: ${{ github.sha }}
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/preview-vercel-shell.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Shell Preview Deployment
name: Shell Deploy

on:
push:
Expand All @@ -8,16 +8,18 @@ on:
branches:
- dev
workflow_dispatch:
merge_group:

jobs:
Deploy-Preview:
runs-on: ubuntu-cpu16-ram64
Preview:
runs-on:
- ubuntu
- self-hosted
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_SHELL_PROJECT_ID }}
NX_SKIP_NX_CACHE: true
GIT_COMMIT_SHA: ${{ github.sha }}
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
36 changes: 0 additions & 36 deletions .github/workflows/preview-vercel-staking.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Storybook Preview Deployment
name: Storybook Deploy

on:
push:
Expand All @@ -8,16 +8,18 @@ on:
branches:
- dev
workflow_dispatch:
merge_group:

jobs:
Deploy-Production:
runs-on: ubuntu-cpu16-ram64
Production:
runs-on:
- ubuntu
- self-hosted
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_STORYBOOK_PROJECT_ID }}
NX_SKIP_NX_CACHE: true
GIT_COMMIT_SHA: ${{ github.sha }}
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/preview-vercel-vesting.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Vesting Preview Deployment
name: Vesting Deploy

on:
push:
Expand All @@ -8,16 +8,18 @@ on:
branches:
- dev
workflow_dispatch:
merge_group:

jobs:
Deploy-Preview:
runs-on: ubuntu-cpu16-ram64
Preview:
runs-on:
- ubuntu
- self-hosted
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_VESTING_PROJECT_ID }}
NX_SKIP_NX_CACHE: true
GIT_COMMIT_SHA: ${{ github.sha }}
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/production-vercel-faucet.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Faucet Production Deployment
name: Faucet Deploy

on:
push:
Expand All @@ -7,13 +7,16 @@ on:
workflow_dispatch:

jobs:
Deploy-Production:
runs-on: ubuntu-cpu16-ram64
Production:
runs-on:
- ubuntu
- self-hosted
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_FAUCET_PROJECT_ID }}
NX_SKIP_NX_CACHE: true
GIT_COMMIT_SHA: ${{ github.sha }}
timeout-minutes: 15
steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down
32 changes: 0 additions & 32 deletions .github/workflows/production-vercel-governance.yml

This file was deleted.

Loading

1 comment on commit 8dd07bc

@vercel
Copy link

@vercel vercel bot commented on 8dd07bc Feb 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.