Skip to content

feat: Add commit-on-git-repository target #597

feat: Add commit-on-git-repository target

feat: Add commit-on-git-repository target #597

Workflow file for this run

name: 'Lint'
on:
pull_request:
branches: [master]
jobs:
lint:
name: Lint fixes
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha }}
- uses: getsentry/action-setup-volta@v1.1.0
- uses: actions/cache@v3
id: cache
with:
path: |
node_modules
.eslintcache
key: ${{ runner.os }}-${{ hashFiles('package.json', 'yarn.lock') }}
- name: Install Dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint -f github-annotations