Skip to content

Merge pull request #1345 from maxmind/kevin/fetch-changelog #2356

Merge pull request #1345 from maxmind/kevin/fetch-changelog

Merge pull request #1345 from maxmind/kevin/fetch-changelog #2356

Workflow file for this run

name: Lint
on:
pull_request:
push:
branches:
- main
schedule:
- cron: '3 0 * * SUN'
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- 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