Skip to content

v9.2.1

v9.2.1 #343

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 "[email protected] "
- 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