Skip to content

API skeleton (and migrations) #65

API skeleton (and migrations)

API skeleton (and migrations) #65

Workflow file for this run

name: Lint and Format
on:
push:
branches:
- '**'
jobs:
lint_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- run: npm ci
- run: npm run format
- name: Commit and push formatting changes
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add -A
git diff --staged --quiet || git commit -m "style: auto-format code"
git push
- run: npm run lint
continue-on-error: true