Skip to content

Display chain ID (for EVM), SS58 prefix (for Substrate) and chain name instead of internal identifier #2

Display chain ID (for EVM), SS58 prefix (for Substrate) and chain name instead of internal identifier

Display chain ID (for EVM), SS58 prefix (for Substrate) and chain name instead of internal identifier #2

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- develop
- main
paths:
- .github/workflows/test.yaml
- src/**
- bin/**
- yarn.lock
jobs:
setup-build-publish-deploy:
name: Run tests
runs-on: ubuntu-latest
steps:
- name: Cancel previous runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- name: Checkout
uses: actions/checkout@v3
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install Yarn
run: corepack enable
# Yarn dependencies cannot be cached until yarn is installed
# WORKAROUND: https://github.com/actions/setup-node/issues/531
- name: Extract cached dependencies
uses: actions/setup-node@v4
with:
cache: yarn
- name: Install
run: yarn install
- name: Typescript check
run: yarn tsc
- name: Unit tests
run: yarn test:unit