Skip to content

Merge pull request #21 from valory-xyz/mohan/registry-search #49

Merge pull request #21 from valory-xyz/mohan/registry-search

Merge pull request #21 from valory-xyz/mohan/registry-search #49

Workflow file for this run

# TODO: figure out how to trigger workflow from vercel for nx
name: Tokenomics
on:
push:
branches:
- main
paths:
- 'apps/tokenomics/**'
pull_request:
branches:
- main
paths:
- 'apps/tokenomics/**'
jobs:
build:
continue-on-error: False
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install modules
run: yarn
- name: Run ESLint
run: yarn nx lint tokenomics
- name: Run Test
run: yarn nx test tokenomics
scan:
name: gitleaks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-go@v3
with:
go-version: '1.17.7'
- run: |
wget https://github.com/zricethezav/gitleaks/releases/download/v8.10.1/gitleaks_8.10.1_linux_x64.tar.gz && \
tar -xzf gitleaks_8.10.1_linux_x64.tar.gz && \
sudo install gitleaks /usr/bin && \
gitleaks detect -r apps/tokenomics/gitleaks-report.json -s apps/tokenomics -v