20 lines
474 B
YAML
20 lines
474 B
YAML
name: CI
|
|
on: push
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
# install modules
|
|
- name: Install modules
|
|
run: yarn
|
|
# build
|
|
- name: Build
|
|
run: yarn build:packages
|
|
# run unit tests
|
|
- name: Jest Annotations & Coverage
|
|
uses: mattallty/jest-github-action@v1.0.3
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
with:
|
|
test-command: 'yarn test'
|