Skip to content

Merge pull request #1942 from maxmind/dependabot/npm_and_yarn/e2e/js/… #5353

Merge pull request #1942 from maxmind/dependabot/npm_and_yarn/e2e/js/…

Merge pull request #1942 from maxmind/dependabot/npm_and_yarn/e2e/js/… #5353

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@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.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