add yarn ci github actions for tests

This commit is contained in:
Bradley Zhou 2020-07-25 23:38:24 +08:00 committed by jeremywu
parent 09e0a05c19
commit b7386b2e15

25
.github/workflows/yarn.js.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: CI
on:
push:
branches:
- dev
- 'feat/**'
pull_request:
branches:
- dev
- 'feat/**'
jobs:
build:
name: Test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: borales/actions-yarn@v2.0.0
with:
cmd: install --frozen-lockfile
- run: npx lerna bootstrap
- uses: borales/actions-yarn@v2.0.0
with:
cmd: test