Skip to content

Swallow "remote not found" error on git before 2.30 #424

Swallow "remote not found" error on git before 2.30

Swallow "remote not found" error on git before 2.30 #424

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