Skip to content

Fix promise rejection #73

Fix promise rejection

Fix promise rejection #73

Workflow file for this run

name: Lint and test
on:
push:
branches: master
pull_request:
branches: master
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: yarn install
- name: Run lint
run: yarn run lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn test
- name: Upload code coverage
env:
TOKEN: ${{ secrets.CODECOV_TOKEN }}
run: CODECOV_TOKEN="$TOKEN" bash <(curl -s https://codecov.io/bash)