add github actions workflow

This commit is contained in:
Hans Pagel 2020-07-13 17:17:24 +02:00
parent d311197a19
commit dcd8969184

29
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: run-tests
on:
push:
pull_request:
schedule:
- cron: '0 0 * * *'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: borales/actions-yarn@v2.0.0
with:
cmd: install
- uses: borales/actions-yarn@v2.0.0
with:
cmd: build:packages
- uses: borales/actions-yarn@v2.0.0
with:
cmd: audit-ci
- uses: borales/actions-yarn@v2.0.0
with:
cmd: lint
- uses: borales/actions-yarn@v2.0.0
with:
cmd: test