Skip to content

ci: add lint & test pipelines #1

ci: add lint & test pipelines

ci: add lint & test pipelines #1

Workflow file for this run

name: lint
on:
push:
branches: [ backend/dev ]
pull_request:
branches: [ backend/dev ]
jobs:
lint:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./backend
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 21
- name: Install dependencies
run: npm ci
- name: Run Prettier to check formatting
run: npx prettier --check . --config ../.prettierrc