Skip to content

Refactor agentql repo #4

Refactor agentql repo

Refactor agentql repo #4

Workflow file for this run

name: JSPre-commit checks
on:
pull_request:
types: [opened, synchronize, reopened]
paths:
- "examples/js/**"
jobs:
js-pre-commit:
name: JS Pre-commit checks
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
working-directory: ./examples/js
run: npm install
- name: Run ESLint
working-directory: ./examples/js
run: npm run lint
- name: Run Prettier
working-directory: ./examples/js
run: npx prettier --check .