Skip to content

update protocol fee for usdc and usdt #176

update protocol fee for usdc and usdt

update protocol fee for usdc and usdt #176

Workflow file for this run

name: Check code
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check-code:
name: Check code
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm i
- name: Check build:ts
run: npm run build:ts
- name: Check test:ts
run: npm run test:ts:ci 2> jest-test.local.log
- name: Prepare report
if: ${{ failure() && github.event_name == 'pull_request' }}
run: |
sed -i '1i\```' jest-test.local.log
sed -i '1i\## Jest Test Errored Report' jest-test.local.log
echo '```' >> jest-test.local.log
sed -ir "s/\x1B\[[0-9;]*[JKmsu]//g" jest-test.local.log
cat jest-test.local.log
- name: Find Comment
uses: peter-evans/find-comment@v3
if: ${{ failure() && github.event_name == 'pull_request' }}
id: fc
with:
issue-number: ${{ github.event.number }}
body-includes: 'Jest Test Errored Report'
- name: Comment configurate
uses: GrantBirki/comment@v2
if: ${{ failure() && github.event_name == 'pull_request' }}
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
file: jest-test.local.log
edit-mode: replace