Skip to content

Merge pull request #1 from function-artisans/feat/format-sql #3

Merge pull request #1 from function-artisans/feat/format-sql

Merge pull request #1 from function-artisans/feat/format-sql #3

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
- name: Cache node modules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npm run eslint
- name: Run lint
run: npm run lint
- name: Run build
run: npm run build