Merge pull request #1804 from trilitech/add-embed-sign-payload-modal #9662
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: Test | |
on: push | |
permissions: | |
pull-requests: write | |
checks: write | |
contents: write | |
concurrency: | |
group: ${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest-m | |
env: | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: jwalton/gh-find-current-pr@v1 | |
id: findPr | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9.9.0 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: "pnpm" | |
- run: pnpm install | |
- run: pnpm run ci | |
- run: pnpm run test --concurrency 1 | |
- name: Post Jest Coverage Comment | |
uses: MishaKav/jest-coverage-comment@main | |
with: | |
multiple-files: | | |
apps/desktop, ./apps/desktop/coverage/coverage-summary.json | |
apps/web, ./apps/desktop/coverage/coverage-summary.json | |
packages/components, ./packages/components/coverage/coverage-summary.json | |
packages/core, ./packages/core/coverage/coverage-summary.json | |
packages/crypto, ./packages/crypto/coverage/coverage-summary.json | |
packages/data-polling, ./packages/data-polling/coverage/coverage-summary.json | |
packages/multisig, ./packages/multisig/coverage/coverage-summary.json | |
packages/social-auth, ./packages/social-auth/coverage/coverage-summary.json | |
packages/state, ./packages/state/coverage/coverage-summary.json | |
packages/tezos, ./packages/tezos/coverage/coverage-summary.json | |
packages/tzkt, ./packages/tzkt/coverage/coverage-summary.json |