This repository has been archived by the owner on Aug 18, 2023. It is now read-only.
Add business logic to types and remove complex components from core-ui #186
Workflow file for this run
This file contains 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: Test | |
on: | |
# Run on master and release branches | |
push: | |
branches: [main, "^v\\d+\\.\\d+$"] | |
pull_request: | |
branches: [main, "^v\\d+\\.\\d+$"] | |
jobs: | |
test: | |
name: Test and coverage | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ inputs.build_branch }} | |
- name: Setup node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '14' | |
cache: yarn | |
cache-dependency-path: ./yarn.lock | |
- name: Install | |
run: yarn install | |
- name: Linter | |
run: yarn lint | |
- name: Build types | |
run: yarn build:types | |
- name: Run test and coverage | |
run: yarn test |