Skip to content

chore: bump actions/setup-node from 6.3.0 to 6.4.0 #2041

chore: bump actions/setup-node from 6.3.0 to 6.4.0

chore: bump actions/setup-node from 6.3.0 to 6.4.0 #2041

Workflow file for this run

name: Lint Checks (ESLint / Prettier)
on:
pull_request:
types:
- opened
- ready_for_review
- synchronize
- labeled
branches:
- main
jobs:
lint:
name: Check Linting and Formatting
timeout-minutes: 5
runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' || github.event.action == 'ready_for_review' || github.event.action == 'synchronize' || (github.event.action == 'labeled' && github.event.label.name == 'force ci') }}
steps:
- uses: step-security/harden-runner@f808768d1510423e83855289c910610ca9b43176 # v2.17.0
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
registry.npmjs.org:443
release-assets.githubusercontent.com:443
- name: Git Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: lts/*
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Run Prettier
run: node --run prettier
- name: Run ESLint
run: node --run lint