Skip to content

feat: create reusable chains package #9576

feat: create reusable chains package

feat: create reusable chains package #9576

Workflow file for this run

name: Tests and Checks
on: [pull_request]
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
env:
NODE_OPTIONS: "--max_old_space_size=4096"
VITE_ENV: "ci"
VITE_CODEGEN_UNRESTRICTED_NODE_REAL_API_KEY: ${{ secrets.VITE_CODEGEN_UNRESTRICTED_NODE_REAL_API_KEY }}
VITE_CODEGEN_UNRESTRICTED_THE_GRAPH_API_KEY: ${{ secrets.VITE_CODEGEN_UNRESTRICTED_THE_GRAPH_API_KEY }}
jobs:
checks:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "20.11.1"
cache: "yarn"
- name: Install dependencies
run: yarn
- name: Typecheck
run: yarn tsc
- name: Lint
run: yarn lint
test:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "20.11.1"
cache: "yarn"
- name: Install dependencies
run: yarn
- name: Run tests and collect coverage
run: yarn test --coverage
- name: "Report coverage"
if: always() # Also generate the report even if tests are failing
uses: davelosert/vitest-coverage-report-action@v2
with:
working-directory: "./apps/evm"