Skip to content

linting + CI

linting + CI #1

Workflow file for this run

name: Pre-Commit Formatting
on:
pull_request:
paths:
- 'client/**'
- 'frontend/**'
- 'backend/**'
- '.github/workflows/**' # Re-run if a workflow is modified - useful to test workflow changes in PRs
push:
branches:
- main
jobs:
pre-commit-checks:
name: pre-commit checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.9'
- uses: actions/setup-node@v3
with:
node-version: 20.8.x
- name: Install PNPM
run: npm install pnpm
- name: Install dependencies with PNPM
run: pnpm install --frozen-lockfile
- name: run pre-commit
uses: pre-commit/[email protected]