Skip to content

Cleaned up usage of JSON reporting to handle skipped or pending (#95) #348

Cleaned up usage of JSON reporting to handle skipped or pending (#95)

Cleaned up usage of JSON reporting to handle skipped or pending (#95) #348

Workflow file for this run

name: Lint and test
# This workflow is triggered on pushes to the repository.
on:
push:
branches:
- '**'
jobs:
lint:
name: Linting and test
runs-on: ubuntu-latest
container:
image: node:lts-alpine
steps:
- uses: actions/checkout@v2
- run: yarn
- run: yarn run lint --max-warnings 1
- run: yarn run test
build:
needs: [lint]
name: Build
runs-on: ubuntu-latest
# if: github.event_name == 'push' && github.ref == 'refs/heads/master'
container:
image: node:lts-alpine
steps:
- uses: actions/checkout@v2
- run: yarn
- run: npm install -g [email protected]
- run: tsc -v
- run: tsc -b