feat(build): add client unit tests

This commit is contained in:
Phan An 2022-05-12 15:24:58 +02:00
parent e82633d405
commit 937a56c173
No known key found for this signature in database
GPG key ID: A81E4477F0BB6FDC

24
.github/workflows/client-unit.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: Client Unit Tests
on:
push:
branches:
- vue3
workflow_dispatch:
branches:
- vue3
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 14, 16, 17 ]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install
- name: Run unit tests
run: yarn test:unit