2020-09-01 21:16:28 +00:00
|
|
|
name: contracts
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2021-11-16 09:36:22 +00:00
|
|
|
branches:
|
|
|
|
- main
|
2020-09-01 21:16:28 +00:00
|
|
|
pull_request:
|
2021-11-16 09:36:22 +00:00
|
|
|
branches:
|
|
|
|
- '*'
|
2020-09-01 21:16:28 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
CI:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-11-16 09:36:22 +00:00
|
|
|
- uses: actions/checkout@v2.4.0
|
2020-09-01 21:16:28 +00:00
|
|
|
- name: Install node
|
2021-11-16 09:36:22 +00:00
|
|
|
uses: actions/setup-node@v2.4.1
|
2020-09-01 21:16:28 +00:00
|
|
|
with:
|
|
|
|
node-version: 12
|
|
|
|
- name: Install
|
|
|
|
run: yarn
|
|
|
|
- name: Lint
|
|
|
|
run: yarn lint
|
|
|
|
- name: Test
|
|
|
|
run: yarn test
|
|
|
|
- name: coverage
|
|
|
|
continue-on-error: true
|
|
|
|
run: yarn coverage
|
|
|
|
env:
|
|
|
|
CI: true
|