Skip to content

Merge pull request #1364 from PhilanthropyDataCommons/1363-upgrade-node #3689

Merge pull request #1364 from PhilanthropyDataCommons/1363-upgrade-node

Merge pull request #1364 from PhilanthropyDataCommons/1363-upgrade-node #3689

Workflow file for this run

name: Lint
on:
push:
branches: [main]
pull_request:
jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: npm ci
- run: npm run lint:eslint
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: npm ci
- run: npm run lint:prettier
sqlfluff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.13'
- name: Install SQLFluff
run: 'pip install -r sqlfluff/requirements.txt'
- name: Lint SQL
run: sqlfluff lint --format github-annotation-native src/database/
swagger:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: npm ci
- run: npm run lint:swagger
tsc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: .node-version
- run: npm ci
- run: npm run lint:tsc