Skip to content

Merge branch '8-develop-login-page-ui' of https://github.com/CadenBPu… #115

Merge branch '8-develop-login-page-ui' of https://github.com/CadenBPu…

Merge branch '8-develop-login-page-ui' of https://github.com/CadenBPu… #115

Workflow file for this run

name: Lint code
on:
push:
branches:
- '**'
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '22'
- name: Install dependencies
run: npm install
- name: Run linter and try to fix issues
run: npm run lint:fix
- name: Commit changes
run: |
git config --local user.name "GitHub Action"
git config --local user.email "action@github.com"
git diff --exit-code || (git add . && git commit -m "Auto-format code using ESlint" && git push)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}