tldraw/.github/workflows/main.yml

21 lines
491 B
YAML
Raw Normal View History

2021-07-09 09:21:41 +00:00
name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
steps:
2021-07-09 09:30:26 +00:00
- uses: actions/checkout@v2
2021-08-13 11:24:54 +00:00
# install modules
2021-07-09 09:30:26 +00:00
- name: Install modules
run: yarn
2021-08-31 21:43:04 +00:00
# build
- name: Build
run: yarn build:packages
2021-08-13 11:24:54 +00:00
# run unit tests
2021-07-09 09:21:41 +00:00
- name: Jest Annotations & Coverage
uses: mattallty/jest-github-action@v1.0.3
env:
2021-07-09 09:28:57 +00:00
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2021-07-09 09:30:26 +00:00
with:
2021-09-08 11:09:03 +00:00
test-command: 'yarn test --ci --runInBand'