Skip to content

chore(deps): update actions/checkout action to v4 #276

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #276

Workflow file for this run

name: UNIT-TESTS
on:
push:
branches:
- "master"
- "develop"
pull_request:
types: [ready_for_review, synchronize, opened]
jobs:
unit:
name: UNIT (API, CRYPTO, TRANSACTIONS)
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install And Build
run: yarn && yarn build
- name: NAMESERVICE-CRYPTO
run: cd packages/nameservice-crypto && yarn test:unit:coverage --maxWorkers=2
- uses: codecov/codecov-action@v2
with:
directory: packages/nameservice-crypto/.coverage
flags: nameservice-crypto
verbose: true
- name: NAMESERVICE-TRANSACTIONS
run: cd packages/nameservice-transactions && yarn test:unit:coverage --maxWorkers=2
- uses: codecov/codecov-action@v2
with:
directory: packages/nameservice-transactions/.coverage
flags: nameservice-transactions
verbose: true
- name: NAMESERVICE-API
run: cd packages/nameservice-api && yarn test:unit:coverage --maxWorkers=2
- uses: codecov/codecov-action@v2
with:
directory: packages/nameservice-api/.coverage
flags: nameservice-api
verbose: true