refactor(cosmwasm): use TS mainProcessor #209
Workflow file for this run
This file contains hidden or 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: Unit Tests | |
# This workflow runs unit tests independently of integration tests | |
# It triggers on changes to test files, source code, or configuration | |
on: | |
pull_request: | |
paths: | |
- 'evm/test/**' | |
- 'evm/utils.js' | |
- 'evm/**/*.js' | |
- 'common/**' | |
- 'package.json' | |
- 'tsconfig.json' | |
- '.github/workflows/unit-tests.yaml' | |
push: | |
branches: [main, develop] | |
paths: | |
- 'evm/test/**' | |
- 'evm/utils.js' | |
- 'evm/**/*.js' | |
- 'common/**' | |
- 'package.json' | |
- 'tsconfig.json' | |
- '.github/workflows/unit-tests.yaml' | |
jobs: | |
unit-tests: | |
name: Unit Tests | |
runs-on: blacksmith-2vcpu-ubuntu-2204 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Node.js | |
uses: useblacksmith/setup-node@v5 | |
with: | |
node-version: 18.x | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Run Unit Tests | |
run: npm test |