17 lines
407 B
YAML
17 lines
407 B
YAML
name: CI
|
|
on: push
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
# install modules
|
|
- name: Install modules
|
|
run: yarn
|
|
# 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'
|