Skip to content

Merge pull request #1902 from maxmind/greg/stf-803 #5168

Merge pull request #1902 from maxmind/greg/stf-803

Merge pull request #1902 from maxmind/greg/stf-803 #5168

Workflow file for this run

name: Lint
on:
pull_request:
push:
schedule:
- cron: '3 20 * * SUN'
permissions: {}
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22
- name: Check that package-lock.json is valid JSON
run: jq empty package-lock.json
- name: Install npm packages
run: npm ci
- name: Run eslint
run: npm run lint
- name: Run prettier
run: npm run prettier:ci
- name: Test compile
run: npx tsc --noEmit