Files
mcp-server-llamacloud/.github/workflows/lint_on_push_or_pull.yml
T
Marcus Schiesser a46e340c00 add gh action
2025-03-23 17:47:31 +02:00

27 lines
494 B
YAML

name: Lint on push or pull request
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run lint
run: npm run lint
- name: Run Prettier
run: npm run format