Skip to content

chore(ci): match relay falcon config — consensus and mirror node versions #256

chore(ci): match relay falcon config — consensus and mirror node versions

chore(ci): match relay falcon config — consensus and mirror node versions #256

name: Lint & prettier checks
on:
pull_request:
branches:
- main
- release/**
push:
branches:
- main
- release/**
tags:
- v*
permissions:
contents: read
jobs:
lint:
name: ESLint & prettier
runs-on: hl-contr-lin-md
steps:
- name: Harden Runner
uses: step-security/harden-runner@bf7454d06d71f1098171f2acdf0cd4708d7b5920 # v2.20.0
with:
egress-policy: audit
- name: Checkout code
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Setup Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 24.12.0
- name: Install dependencies
run: npm ci
- name: Run ESLint
run: npx eslint .
- name: Run prettier check
run: npx prettier test --check