Skip to content

feat: APP-2797 - Implement TransactionDataListItem.Structure module component #829

feat: APP-2797 - Implement TransactionDataListItem.Structure module component

feat: APP-2797 - Implement TransactionDataListItem.Structure module component #829

Workflow file for this run

name: Library test
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
env:
NODE_VERSION: 18
NODE_CACHE: "yarn"
jobs:
prepare:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup Node
uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
cache: ${{ env.NODE_CACHE }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Build library
run: yarn build
- name: Build storybook
run: yarn build:storybook
test:
needs: prepare
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup Node
uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
cache: ${{ env.NODE_CACHE }}
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests with coverage
run: |
set -eo pipefail
yarn test:coverage
- name: Check types
run: yarn type-check
- name: Check linter
run: yarn lint
- name: Check prettier
run: yarn prettify
- name: Enforce changelog
if: github.ref != 'refs/heads/main'
uses: dangoslen/[email protected]