Skip to content

Commit a62577a

Browse files
committed
[workflow/code-check] added unit test workflow
1 parent 099e7e0 commit a62577a

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

.github/workflows/code-check.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Code Quality Check
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
jobs:
9+
code-quality-check:
10+
name: Checks code quality
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
with:
15+
fetch-depth: 0
16+
- name: Install dependencies
17+
uses: ./.github/actions/install-dependencies
18+
env:
19+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20+
- name: Run unit tests
21+
run: yarn jest --coverage --forceExit --maxWorkers=2
22+
continue-on-error: false

0 commit comments

Comments
 (0)