Skip to content

fix(probot): passes logger to webhooks #1020

fix(probot): passes logger to webhooks

fix(probot): passes logger to webhooks #1020

Workflow file for this run

name: Test
"on":
push:
branches:
- master
pull_request:
types:
- opened
- synchronize
jobs:
test_matrix:
strategy:
matrix:
node-version:
- 10
- 12
- 14
os:
# use runners that support the outdated node versions
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
- ubuntu-20.04
- macos-11
- windows-2019
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm run build
- run: npx jest
test:
runs-on: ubuntu-latest
needs: test_matrix
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
cache: npm
node-version: 16
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npx jest
- name: codecov
run: npx codecov
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}