name: Lint package on pull request on: push: branches: - master pull_request: branches: - master jobs: publish: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - uses: actions/setup-node@v1 with: node-version: 14 - run: yarn install - run: yarn lint