Skip to content

Remybar lint check for pr #1

Remybar lint check for pr

Remybar lint check for pr #1

Workflow file for this run

name: Linting
on:
pull_request:
branches:
- main
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: yarn --prefer-offline
- name: Linting
run: yarn lint:fix --quiet
- name: Check for changes
run: git diff --exit-code
- name: Comment on PR if lint fails
if: ${{ failure() }}
run: |
echo "Lint checks failed. Please review and fix the issues."
exit 1