mirror of
https://github.com/koel/koel
synced 2024-11-10 06:34:14 +00:00
feat(build): add client unit tests
This commit is contained in:
parent
e82633d405
commit
937a56c173
1 changed files with 24 additions and 0 deletions
24
.github/workflows/client-unit.yml
vendored
Normal file
24
.github/workflows/client-unit.yml
vendored
Normal 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
|
Loading…
Reference in a new issue