Skip to content

Increase timeout of unit test #411

Increase timeout of unit test

Increase timeout of unit test #411

name: run-lint-and-tests
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch'
required: true
default: 'main'
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: git config --global user.email "backportci@users.noreply.github.com "
- run: git config --global user.name "Backport CI"
- run: yarn
- run: yarn lint
- run: yarn tsc
- run: yarn test
- run: ACCESS_TOKEN=${{ secrets.GH_ACCESS_TOKEN }} yarn test-private