Skip to content

deps(deps): bump firebase from 10.12.0 to 10.13.2 #186

deps(deps): bump firebase from 10.12.0 to 10.13.2

deps(deps): bump firebase from 10.12.0 to 10.13.2 #186

name: Lint and Format Check
on: [push, pull_request]
jobs:
lint-and-format:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
- name: Install dependencies
run: npm install
- name: Run ESLint
run: npm run lint
- name: Run Prettier
run: npm run format
- name: Check for changes
shell: bash
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git diff --quiet || (git add . && git commit -m "style: format code with Prettier" && git push)