Use multicall for tests #145
Workflow file for this run
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
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: | | |
echo '## Jest Test Errored Report' > jest-test.local.log | |
echo '```' > jest-test.local.log | |
npm run test:ts:ci 2>&1 | tee jest-test.local.log | |
echo '```' > jest-test.local.log | |
cat jest-test.local.log | |
- name: Find Comment | |
uses: peter-evans/find-comment@v3 | |
if: failure() | |
id: fc | |
with: | |
issue-number: ${{ github.event.number }} | |
body-includes: 'Jest Test Errored Report' | |
- name: Comment configurate | |
uses: GrantBirki/comment@v2 | |
if: failure() | |
with: | |
comment-id: ${{ steps.fc.outputs.comment-id }} | |
file: jest-test.local.log | |
edit-mode: replace | |