Swallow "remote not found" error on git before 2.30 #424
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |